@@ -45,7 +45,7 @@ public function provideFromString_success()
45
45
[4103219202 , new Number ('410321920 ' , 2 ), "Integer " ],
46
46
['89148000003974165685 ' , new Number ('8914800000397416568 ' , 5 ), "Large number " ],
47
47
['abc123 ' , new Number ('12 ' , 3 ), "Character in string " ],
48
- [(( string ) PHP_INT_MAX ). ' 21 ' , new Number ((( string ) PHP_INT_MAX ). ' 2 ' , 1 ), "Larger than INT_MAX " ],
48
+ [' 922337203685477580721 ' , new Number (' 92233720368547758072 ' , 1 ), "Larger than INT_MAX " ],
49
49
];
50
50
}
51
51
@@ -63,7 +63,6 @@ public function provideFromString_fail()
63
63
return [
64
64
['' , \InvalidArgumentException::class, "Empty string " ],
65
65
['xyz ' , \InvalidArgumentException::class, "Invalid string " ],
66
- [nullm \InvalidArgumentException::class, "Null " ],
67
66
];
68
67
}
69
68
@@ -96,7 +95,6 @@ public function provideNew_fail()
96
95
return [
97
96
['abc123 ' , 1 , \InvalidArgumentException::class, "Invalid number " ],
98
97
['123 ' , null , \InvalidArgumentException::class, "Whitespace " ],
99
- [null , null , \InvalidArgumentException::class, "Null " ],
100
98
];
101
99
}
102
100
0 commit comments