Conditions | 4 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function evaluateFieldValue(string $value, string $is_in, bool &$set): string |
||
|
|||
21 | { |
||
22 | $newValue = '0.000000'; |
||
23 | $set = true; |
||
24 | if (MathUtility::canBeInterpretedAsFloat($value) && |
||
25 | ((float)$value >= -90 && (float)$value <= 90) |
||
26 | ) { |
||
27 | $newValue = number_format((float)$value, 6); |
||
28 | } |
||
29 | |||
30 | return $newValue; |
||
31 | } |
||
33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.