Completed
Pull Request — master (#315)
by Anton
13:35
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/Javascript/RuleParser.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Add conditional rules.
88 88
      *
89
-     * @param $attribute
89
+     * @param string $attribute
90 90
      * @param array $rules
91 91
      * @return void
92 92
      */
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Determine if rule is passed with sometimes.
104 104
      *
105
-     * @param $attribute
105
+     * @param string $attribute
106 106
      * @param $rule
107 107
      * @return bool
108 108
      */
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Returns Javascript parameters for remote validated rules.
117 117
      *
118 118
      * @param string $attribute
119
-     * @param $rule
119
+     * @param string $rule
120 120
      * @param $parameters
121 121
      * @return array
122 122
      */
Please login to merge, or discard this patch.
src/Support/DelegatedValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param \Illuminate\Validation\Validator $validator
37 37
      * @param \Proengsoft\JsValidation\Support\ValidationRuleParserProxy $ruleParser
38
-     * @return void
38
+     * @return DelegatedValidator
39 39
      */
40 40
     public function __construct(BaseValidator $validator, ValidationRuleParserProxy $ruleParser)
41 41
     {
Please login to merge, or discard this patch.