Releases: mdavis1982/duration
Releases · mdavis1982/duration
Code Quality Changes
Added
- Added an interface
Changed
- Enabled strict types
- Moved constants from the class to the interface
- Changed references to constants to use the interface constants
- Changed occurrences of new self to new static
- Changed return type declarations to return the interface instead of self
- Formatted code and tests
Minor Fixes
Changed
- Changed the visibility of the constructor and
$seconds
property.
Removed
- Removed an unnecessary
return $this
in the constructor of theDuration
class.
Initial Release
Initial release.
Exciting!