From 681438e78a1ccc5462cfa20e0e724befbb9269a1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 9 Apr 2018 10:33:16 -0500 Subject: [PATCH] formatting --- src/Illuminate/Validation/Concerns/ReplacesAttributes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Validation/Concerns/ReplacesAttributes.php b/src/Illuminate/Validation/Concerns/ReplacesAttributes.php index 2d837968e880..76a2a98a4024 100644 --- a/src/Illuminate/Validation/Concerns/ReplacesAttributes.php +++ b/src/Illuminate/Validation/Concerns/ReplacesAttributes.php @@ -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); }