From 52940cf3275cfebd47ec008fd8ae5bc6d6a42dfd Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Tue, 12 May 2020 16:43:32 +0200 Subject: [PATCH] fix tests --- src/Illuminate/Validation/ValidationRuleParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Validation/ValidationRuleParser.php b/src/Illuminate/Validation/ValidationRuleParser.php index 9438fb11f7b7..d0d0c906e79a 100644 --- a/src/Illuminate/Validation/ValidationRuleParser.php +++ b/src/Illuminate/Validation/ValidationRuleParser.php @@ -131,7 +131,7 @@ protected function explodeWildcardRules($results, $attribute, $rules) foreach ($data as $key => $value) { if (Str::startsWith($key, $attribute) || (bool) preg_match('/^'.$pattern.'\z/', $key)) { foreach ((array) $rules as $rule) { - $this->implicitAttributes[$attribute][] = $key; + $this->implicitAttributes[$attribute][] = strval($key); $results = $this->mergeRules($results, $key, $rule); }