改名
This commit is contained in:
@@ -220,7 +220,7 @@ class HttpParams
|
|||||||
if (is_null($int)) {
|
if (is_null($int)) {
|
||||||
$length = 0;
|
$length = 0;
|
||||||
} else {
|
} else {
|
||||||
$length = strlen(floatval($int));
|
$length = strlen((string)$int);
|
||||||
}
|
}
|
||||||
if (!is_numeric($int) || intval($int) != $int) {
|
if (!is_numeric($int) || intval($int) != $int) {
|
||||||
throw new RequestException("The request parameter $name must integer.");
|
throw new RequestException("The request parameter $name must integer.");
|
||||||
|
|||||||
Reference in New Issue
Block a user