All notable changes to this project will be documented in this file.
- Added an interface
- 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
- Changed the visibility of the constructor and
$seconds
property.
- Removed an unnecessary
return $this
in the constructor of theDuration
class.
- Initial Release