Skip to content

Releases: mdavis1982/duration

Code Quality Changes

19 Mar 15:54
Compare
Choose a tag to compare

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

18 Mar 17:30
Compare
Choose a tag to compare

Changed

  • Changed the visibility of the constructor and $seconds property.

Removed

  • Removed an unnecessary return $this in the constructor of the Duration class.

Initial Release

18 Mar 17:03
Compare
Choose a tag to compare

Initial release.

Exciting!