← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/MathTrig/Round.php
+2
-2
3.3.1
→
3.4
View file →
| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | if (PHP_VERSION_ID >= 80400) { |
| 73 | 73 | return round( |
| 74 | 74 | (float) (string) $number, |
| 75 | 75 | $digits, |
| 76 | - RoundingMode::AwayFromZero //* @phpstan-ignore-line | |
| 76 | + RoundingMode::AwayFromZero //* @phpstan-ignore argument.type (phpstan error till we no longer support Php < 8.4) | |
| 77 | 77 | ); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | // @codeCoverageIgnoreStart |
| @@ -118,9 +118,9 @@ | ||
| 118 | 118 | if (PHP_VERSION_ID >= 80400) { |
| 119 | 119 | return round( |
| 120 | 120 | (float) (string) $number, |
| 121 | 121 | $digits, |
| 122 | - RoundingMode::TowardsZero //* @phpstan-ignore-line | |
| 122 | + RoundingMode::TowardsZero | |
| 123 | 123 | ); |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | // @codeCoverageIgnoreStart |