Completed
Pull Request — master (#415)
by
unknown
13:08
created
src/Javascript/MessageParser.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param string $attribute
28 28
      * @param string $rule
29 29
      * @param array  $parameters
30
-     * @return mixed
30
+     * @return string
31 31
      */
32 32
     public function getMessage($attribute, $rule, $parameters)
33 33
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Generate fake data to get RequiredIf message.
65 65
      *
66 66
      * @param $data
67
-     * @param $rule
67
+     * @param string $rule
68 68
      * @param $parameters
69 69
      * @return void
70 70
      */
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * Generate fake data to get file type messages.
84 84
      *
85 85
      * @param $data
86
-     * @param $attribute
86
+     * @param string $attribute
87 87
      * @return void
88 88
      */
89 89
     private function fakeFileData($data, $attribute)
Please login to merge, or discard this patch.
src/JsValidatorFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @param string|array $class
136
+     * @param string $class
137 137
      * @return array
138 138
      */
139 139
     protected function parseFormRequestName($class)
Please login to merge, or discard this patch.
src/Remote/Validator.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Proengsoft\JsValidation\Remote;
4 4
 
5
-use Illuminate\Support\Arr;
5
+use Illuminate\Http\Exceptions\HttpResponseException;
6 6
 use Illuminate\Http\JsonResponse;
7
+use Illuminate\Support\Arr;
7 8
 use Illuminate\Validation\ValidationException;
8 9
 use Illuminate\Validation\ValidationRuleParser;
9
-use Proengsoft\JsValidation\Support\RuleListTrait;
10
-use Illuminate\Http\Exceptions\HttpResponseException;
11 10
 use Illuminate\Validation\Validator as BaseValidator;
12 11
 use Proengsoft\JsValidation\Support\AccessProtectedTrait;
12
+use Proengsoft\JsValidation\Support\RuleListTrait;
13 13
 
14 14
 class Validator
15 15
 {
Please login to merge, or discard this patch.