Skip to content

Commit c3befd2

Browse files
committed
Apply fixes from StyleCI
1 parent f21ca64 commit c3befd2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/Validation/ValidationRuleParserTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,18 @@ public function testExplodeHandlesArraysOfNestedRules()
197197

198198
$results = $parser->explode([
199199
'users.*.name' => Rule::forEach(function ($value, $attribute, $data) {
200-
$this->assertEquals([
201-
'users.0.name' => 'Taylor Otwell',
202-
'users.1.name' => 'Abigail Otwell',
203-
], $data);
204-
205-
return [
206-
Rule::requiredIf(true),
207-
$value === 'Taylor Otwell'
208-
? Rule::in('taylor')
209-
: Rule::in('abigail'),
210-
];
211-
}),
200+
$this->assertEquals([
201+
'users.0.name' => 'Taylor Otwell',
202+
'users.1.name' => 'Abigail Otwell',
203+
], $data);
204+
205+
return [
206+
Rule::requiredIf(true),
207+
$value === 'Taylor Otwell'
208+
? Rule::in('taylor')
209+
: Rule::in('abigail'),
210+
];
211+
}),
212212
]);
213213

214214
$this->assertEquals([

0 commit comments

Comments
 (0)