Completed
Push — master ( a2c256...20e03b )
by Shcherbak
02:35
created
src/Fiv/Form/Element/Html.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      *
85
-     * @param      $tag
85
+     * @param      string $tag
86 86
      * @param      $attributes
87 87
      * @param bool $content
88 88
      * @return string
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
 
138 138
     /**
139
-     * @param $name
139
+     * @param string $name
140 140
      * @return $this
141 141
      */
142 142
     public function removeAttribute($name) {
Please login to merge, or discard this patch.
src/Fiv/Form/Filter/RegexReplace.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
 
19 19
     /**
20
-     * @param        $from
20
+     * @param        string $from
21 21
      * @param string $to
22 22
      * @return \Fiv\Form\Filter\RegexReplace
23 23
      */
Please login to merge, or discard this patch.
src/Fiv/Form/CheckboxList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
   class CheckboxList extends \Fiv\Form\Element\Multiple {
18 18
 
19 19
     /**
20
-     * @param mixed $data
20
+     * @param string[] $data
21 21
      * @return $this
22 22
      */
23 23
     public function setValue($data) {
Please login to merge, or discard this patch.
src/Fiv/Form/Form.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * Check if form is submitted and all elements are valid
149 149
      *
150
-     * @return bool|null
150
+     * @return boolean
151 151
      */
152 152
     public function isValid() {
153 153
       if ($this->validationResult !== null) {
@@ -233,8 +233,8 @@  discard block
 block discarded – undo
233 233
 
234 234
 
235 235
     /**
236
-     * @param      $name
237
-     * @param null $text
236
+     * @param      string $name
237
+     * @param string $text
238 238
      * @return Select
239 239
      */
240 240
     public function select($name, $text = null) {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 
248 248
 
249 249
     /**
250
-     * @param        $name
250
+     * @param        string $name
251 251
      * @param string $text
252 252
      * @return RadioList
253 253
      */
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
 
263 263
     /**
264
-     * @param      $name
264
+     * @param      string $name
265 265
      * @param null $text
266 266
      * @return TextArea
267 267
      */
@@ -296,8 +296,8 @@  discard block
 block discarded – undo
296 296
      * ```
297 297
      * $form->submit('register', 'зареєструватись');
298 298
      * ```
299
-     * @param      $name
300
-     * @param null $value
299
+     * @param      string $name
300
+     * @param string $value
301 301
      * @return Submit
302 302
      */
303 303
     public function submit($name, $value = null) {
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 
329 329
     /**
330 330
      * @param string $name
331
-     * @param null $text
331
+     * @param string $text
332 332
      * @return CheckboxList
333 333
      */
334 334
     public function checkboxList($name, $text = null) {
Please login to merge, or discard this patch.