We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1ebb4 commit 9993dabCopy full SHA for 9993dab
lib/Column.php
@@ -136,11 +136,6 @@ public static function castIntegerSafely($value)
136
elseif (is_numeric($value) && floor($value) != $value)
137
return (int) $value;
138
139
- // If adding 0 to a string causes a float conversion,
140
- // we have a number over PHP_INT_MAX
141
- elseif (is_string($value) && is_float($value + 0))
142
- return (string) $value;
143
-
144
// If a float was passed and its greater than PHP_INT_MAX
145
// (which could be wrong due to floating point precision)
146
// We'll also check for equal to (>=) in case the precision
0 commit comments