@@ -53,8 +53,9 @@ |
||
53 | 53 | */ |
54 | 54 | public function passes($value) |
55 | 55 | { |
56 | - if (!$this->ruleClass) |
|
57 | - return false; |
|
56 | + if (!$this->ruleClass) { |
|
57 | + return false; |
|
58 | + } |
|
58 | 59 | return $this->getRule($value)->isValid(); |
59 | 60 | } |
60 | 61 |