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 5a21396 commit 978ae15Copy full SHA for 978ae15
system/Validation/Validation.php
@@ -337,7 +337,7 @@ protected function processRules(
337
338
// @phpstan-ignore-next-line $error may be set by rule methods.
339
$this->errors[$field] = $error ?? $this->getErrorMessage(
340
- ($this->isClosure($rule) || $arrayCallable) ? $i : $rule,
+ ($this->isClosure($rule) || $arrayCallable) ? (string) $i : $rule,
341
$field,
342
$label,
343
$param,
0 commit comments