PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/brick/math/src/Exception/IntegerOverflowException.php +3 -7 1.2.31.4.1 View file →
@@ -1,10 +1,10 @@
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 -use Dudlewebs\WPMCS\Brick\Math\BigInteger;
6 +use Dudlewebs\WPMCS\GCP\Brick\Math\BigInteger;
7 7 /**
8 8 * Exception thrown when an integer overflow occurs.
9 9 */
10 10 class IntegerOverflowException extends MathException
@@ -9,15 +9,11 @@
9 9 */
10 10 class IntegerOverflowException extends MathException
11 11 {
12 12 /**
13 - * @param BigInteger $value
14 - *
15 - * @return IntegerOverflowException
16 - *
17 13 * @psalm-pure
18 14 */
19 - public static function toIntOverflow(BigInteger $value): IntegerOverflowException
15 + public static function toIntOverflow(BigInteger $value) : IntegerOverflowException
20 16 {
21 17 $message = '%s is out of range %d to %d and cannot be represented as an integer.';
22 18 return new self(\sprintf($message, (string) $value, \PHP_INT_MIN, \PHP_INT_MAX));
23 19 }