Skip to content

Commit 254d028

Browse files
committed
Fix type
1 parent fbfc617 commit 254d028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/TimeUnits.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function __construct(TimeUnitInterface $unit)
7777

7878
if (abs($this->seconds - Seconds::SECONDS_PER_MINUTE) < 0.01) {
7979
$this->minutes++;
80-
$this->seconds = 0;
80+
$this->seconds = 0.0;
8181
}
8282
}
8383

0 commit comments

Comments
 (0)