Passed
Push — master ( d26101...1eb4af )
by Gabor
03:11
created
src/WebHemi/Form/Element/Web/AbstractElement.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Sets element value.
139 139
      *
140
-     * @param mixed $value
140
+     * @param string $value
141 141
      * @return AbstractElement
142 142
      */
143 143
     public function setValue($value)
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Converts CamelCase text to under_score equivalent.
183 183
      *
184
-     * @param $input
184
+     * @param string $input
185 185
      * @return string
186 186
      */
187 187
     private function camelCaseToUnderscore($input)
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
     /**
278 278
      * Sets the element errors. Usually the validator should set it, but it is allowed to set from outside too.
279 279
      *
280
-     * @param array $errors
280
+     * @param string[] $errors
281 281
      * @return AbstractElement
282 282
      */
283 283
     public function setErrors(array $errors)
Please login to merge, or discard this patch.
src/WebHemi/Form/Element/Web/CheckboxElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * Sets element value.
24 24
      *
25
-     * @param mixed $value
25
+     * @param string $value
26 26
      * @return RadioElement
27 27
      */
28 28
     public function setValue($value)
Please login to merge, or discard this patch.