← All changes
|
includes/sdk/google/brick/math/src/Exception/RoundingNecessaryException.php
+2
-4
1.2.3
→
1.4.2
View file →
| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | declare (strict_types=1); |
| 4 | -namespace Dudlewebs\WPMCS\Brick\Math\Exception; | |
| 4 | +namespace Dudlewebs\WPMCS\GCP\Brick\Math\Exception; | |
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * Exception thrown when a number cannot be represented at the requested scale without rounding. |
| 8 | 8 | */ |
| @@ -8,13 +8,11 @@ | ||
| 8 | 8 | */ |
| 9 | 9 | class RoundingNecessaryException extends MathException |
| 10 | 10 | { |
| 11 | 11 | /** |
| 12 | - * @return RoundingNecessaryException | |
| 13 | - * | |
| 14 | 12 | * @psalm-pure |
| 15 | 13 | */ |
| 16 | - public static function roundingNecessary(): RoundingNecessaryException | |
| 14 | + public static function roundingNecessary() : RoundingNecessaryException | |
| 17 | 15 | { |
| 18 | 16 | return new self('Rounding is necessary to represent the result of the operation at this scale.'); |
| 19 | 17 | } |
| 20 | 18 | } |