Completed
Pull Request — master (#2629)
by jxlwqq
02:27
created
src/Form/Field.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Field constructor.
217 217
      *
218
-     * @param       $column
218
+     * @param       string $column
219 219
      * @param array $arguments
220 220
      */
221 221
     public function __construct($column, $arguments = [])
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
     /**
450 450
      * Get or set rules.
451 451
      *
452
-     * @param null  $rules
452
+     * @param string  $rules
453 453
      * @param array $messages
454 454
      *
455 455
      * @return $this
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
     /**
548 548
      * Set or get value of the field.
549 549
      *
550
-     * @param null $value
550
+     * @param string $value
551 551
      *
552 552
      * @return mixed
553 553
      */
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
     /**
701 701
      * Add html attributes to elements.
702 702
      *
703
-     * @param array|string $attribute
703
+     * @param string $attribute
704 704
      * @param mixed        $value
705 705
      *
706 706
      * @return $this
@@ -992,7 +992,7 @@  discard block
 block discarded – undo
992 992
     }
993 993
 
994 994
     /**
995
-     * @param array $labelClass
995
+     * @param string[] $labelClass
996 996
      *
997 997
      * @return self
998 998
      */
Please login to merge, or discard this patch.