Skip to content

Commit

Permalink
remove strval
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed May 12, 2020
1 parent 95b34d4 commit 1c76a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/ValidationRuleParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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][] = strval($key);
$this->implicitAttributes[$attribute][] = $key;

$results = $this->mergeRules($results, $key, $rule);
}
Expand Down

0 comments on commit 1c76a6f

Please sign in to comment.