@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Proengsoft\JsValidation\Remote; |
4 | 4 | |
5 | +use Illuminate\Http\Exceptions\HttpResponseException; |
|
5 | 6 | use Illuminate\Http\JsonResponse; |
6 | 7 | use Illuminate\Validation\ValidationRuleParser; |
7 | -use Proengsoft\JsValidation\Support\RuleListTrait; |
|
8 | -use Illuminate\Http\Exceptions\HttpResponseException; |
|
9 | 8 | use Illuminate\Validation\Validator as BaseValidator; |
10 | 9 | use Proengsoft\JsValidation\Support\AccessProtectedTrait; |
10 | +use Proengsoft\JsValidation\Support\RuleListTrait; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Class RemoteValidator. |
@@ -128,6 +128,9 @@ |
||
128 | 128 | return $this->validator($validator, $selector); |
129 | 129 | } |
130 | 130 | |
131 | + /** |
|
132 | + * @param string $class |
|
133 | + */ |
|
131 | 134 | protected function parseFormRequestName($class) |
132 | 135 | { |
133 | 136 | $params = []; |
@@ -2,14 +2,14 @@ |
||
2 | 2 | |
3 | 3 | namespace Proengsoft\JsValidation; |
4 | 4 | |
5 | +use Illuminate\Foundation\Http\FormRequest; |
|
5 | 6 | use Illuminate\Support\Arr; |
6 | 7 | use Illuminate\Validation\Validator; |
7 | -use Illuminate\Foundation\Http\FormRequest; |
|
8 | -use Proengsoft\JsValidation\Javascript\RuleParser; |
|
8 | +use Proengsoft\JsValidation\Javascript\JavascriptValidator; |
|
9 | 9 | use Proengsoft\JsValidation\Javascript\MessageParser; |
10 | -use Proengsoft\JsValidation\Support\DelegatedValidator; |
|
10 | +use Proengsoft\JsValidation\Javascript\RuleParser; |
|
11 | 11 | use Proengsoft\JsValidation\Javascript\ValidatorHandler; |
12 | -use Proengsoft\JsValidation\Javascript\JavascriptValidator; |
|
12 | +use Proengsoft\JsValidation\Support\DelegatedValidator; |
|
13 | 13 | use Proengsoft\JsValidation\Support\ValidationRuleParserProxy; |
14 | 14 | |
15 | 15 | class JsValidatorFactory |