Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit ee19839

Browse files
committed
Adds missing docblock for Step::getPrecision
1 parent df0ae09 commit ee19839

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Step.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ private function sub($x, $y)
166166
return round($x - $y, $precision);
167167
}
168168

169+
/**
170+
* @param float $float
171+
* @return int
172+
*/
169173
private function getPrecision($float)
170174
{
171175
$segment = substr($float, strpos($float, '.') + 1);

0 commit comments

Comments
 (0)