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 26a3e75 commit 391723bCopy full SHA for 391723b
system/Validation/StrictRules/Rules.php
@@ -63,6 +63,10 @@ public function equals($str, string $val): bool
63
*/
64
public function exact_length($str, string $val): bool
65
{
66
+ if (is_int($str) || is_float($str)) {
67
+ $str = (string) $str;
68
+ }
69
+
70
if (! is_string($str)) {
71
return false;
72
}
0 commit comments