We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f566bb commit 982f2e9Copy full SHA for 982f2e9
src/Validation.php
@@ -73,6 +73,8 @@ protected function validateAttribute(Attribute $attribute)
73
74
$attributeKey = $attribute->getKey();
75
$rules = $attribute->getRules();
76
+
77
78
$value = $this->getValue($attributeKey);
79
$isEmptyValue = $this->isEmptyValue($value);
80
@@ -84,11 +86,11 @@ protected function validateAttribute(Attribute $attribute)
84
86
continue;
85
87
}
88
89
+ $valid = $ruleValidator->check($value);
90
91
if ($isEmptyValue AND $this->ruleIsOptional($attribute, $ruleValidator)) {
92
93
-
- $valid = $ruleValidator->check($value);
94
95
if (!$valid) {
96
$isValid = false;
0 commit comments