| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class NumericHelper |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Returns string representation of a number value without thousands separators and with dot as decimal separator. |
||
| 13 | * |
||
| 14 | * @param bool|float|int|string $value |
||
| 15 | * |
||
| 16 | * @throws InvalidArgumentException if value is not scalar. |
||
| 17 | * |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public static function normalize($value): string |
||
| 37 |