Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 9, 2018
1 parent a6bc018 commit 681438e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Validation/Concerns/ReplacesAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ protected function replaceRequiredUnless($message, $attribute, $rule, $parameter
$other = $this->getDisplayableAttribute($parameters[0]);

$values = [];

foreach (array_slice($parameters, 1) as $value) {
$values[] = $this->getDisplayableValue($parameters[0], $value);
}
Expand Down

0 comments on commit 681438e

Please sign in to comment.