PHP 8 Compatibility

This commit is contained in:
Frédéric Guillot
2022-02-05 11:49:03 -08:00
committed by GitHub
parent 61e63ef9e0
commit f5bb55bdb8
558 changed files with 6262 additions and 21691 deletions

View File

@@ -13,7 +13,7 @@ class Integer extends Base
return ctype_digit(substr($data[$this->field], 1));
}
return ctype_digit($data[$this->field]);
return ctype_digit((string) $data[$this->field]);
}
else {
return is_int($data[$this->field]);