Upgrade to 3.9.6
This commit is contained in:
@@ -70,6 +70,10 @@ class Argument
|
||||
|
||||
// numeric
|
||||
if (is_numeric($argument) === true) {
|
||||
if (strpos($argument, '.') === false) {
|
||||
return new static((int)$argument);
|
||||
}
|
||||
|
||||
return new static((float)$argument);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user