Skip to content

Commit 52940cf

Browse files
committed
fix tests
1 parent 12b6599 commit 52940cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Validation/ValidationRuleParser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ protected function explodeWildcardRules($results, $attribute, $rules)
131131
foreach ($data as $key => $value) {
132132
if (Str::startsWith($key, $attribute) || (bool) preg_match('/^'.$pattern.'\z/', $key)) {
133133
foreach ((array) $rules as $rule) {
134-
$this->implicitAttributes[$attribute][] = $key;
134+
$this->implicitAttributes[$attribute][] = strval($key);
135135

136136
$results = $this->mergeRules($results, $key, $rule);
137137
}

0 commit comments

Comments
 (0)