kevinkhill / php-duration

Convert durations of time between colon-formatted, human-readable, and seconds
MIT License
158 stars 26 forks source link

Added toMinutes() method #4 #5

Closed dimitri-koenig closed 8 years ago

dimitri-koenig commented 8 years ago

Resolves issue: toMinutes() method #4

Adds toMinutes() method to return either float or integer value (if second param is true, see tests)

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling d949638640bdfb336aaca2d782e1735e84ccb315 on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling d949638640bdfb336aaca2d782e1735e84ccb315 on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling d949638640bdfb336aaca2d782e1735e84ccb315 on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling d949638640bdfb336aaca2d782e1735e84ccb315 on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling 7b0d603a8c5ad4abb7b21da67f387c585dd05faa on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 97.17% when pulling 7b0d603a8c5ad4abb7b21da67f387c585dd05faa on dimitri-koenig:feature/toMinutes into 50a69caaae96e293d816da29090364ac9fbe8e40 on kevinkhill:master.

kevinkhill commented 8 years ago

All looks good to me, thank you for including tests too :smile: