Completed
Pull Request — master (#149)
by
unknown
02:38
created
src/Form/Field.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     /**
289 289
      * Get or set rules.
290 290
      *
291
-     * @param null $rules
291
+     * @param string $rules
292 292
      *
293 293
      * @return $this
294 294
      */
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
     /**
309 309
      * Set or get value of the field.
310 310
      *
311
-     * @param null $value
311
+     * @param string $value
312 312
      *
313 313
      * @return mixed
314 314
      */
@@ -356,8 +356,8 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * Add html attributes to elements.
358 358
      *
359
-     * @param array|string $attribute
360
-     * @param mixed        $value
359
+     * @param string $attribute
360
+     * @param boolean        $value
361 361
      *
362 362
      * @return $this
363 363
      */
@@ -462,9 +462,9 @@  discard block
 block discarded – undo
462 462
     /**
463 463
      * Set help block.
464 464
      *
465
-     * @param null $help
465
+     * @param string|null $help
466 466
      *
467
-     * @return mixed
467
+     * @return Field
468 468
      */
469 469
     public function help($help = '')
470 470
     {
Please login to merge, or discard this patch.