Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 10... Zeile 10...
10
 * Exception thrown when an integer overflow occurs.
10
 * Exception thrown when an integer overflow occurs.
11
 */
11
 */
12
class IntegerOverflowException extends MathException
12
class IntegerOverflowException extends MathException
13
{
13
{
14
    /**
14
    /**
15
     * @param BigInteger $value
-
 
16
     *
-
 
17
     * @return IntegerOverflowException
-
 
18
     *
-
 
19
     * @psalm-pure
15
     * @psalm-pure
20
     */
16
     */
21
    public static function toIntOverflow(BigInteger $value) : IntegerOverflowException
17
    public static function toIntOverflow(BigInteger $value) : IntegerOverflowException
22
    {
18
    {
23
        $message = '%s is out of range %d to %d and cannot be represented as an integer.';
19
        $message = '%s is out of range %d to %d and cannot be represented as an integer.';