@@ -20,8 +20,7 @@ |
||
| 20 | 20 | // THIS WILL NOW RETURN YOUR NEW SERVICE PROVIDER SINCE YOU'RE |
| 21 | 21 | // IN THE MyLib\Validation NAMESPACE |
| 22 | 22 | return new Validator($this->translator, $data, $rules, $messages); |
| 23 | - } |
|
| 24 | - else |
|
| 23 | + } else |
|
| 25 | 24 | { |
| 26 | 25 | return call_user_func($this->resolver, $this->translator, $data, $rules, $messages); |
| 27 | 26 | } |