Completed
Pull Request — master (#3025)
by
unknown
03:16
created
src/Form/Field.php 2 patches
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.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1086,8 +1086,8 @@
 block discarded – undo
1086 1086
      */
1087 1087
     public function setScript($script)
1088 1088
     {
1089
-       $this->script = $script;
1090
-       return $this;
1089
+        $this->script = $script;
1090
+        return $this;
1091 1091
     }
1092 1092
 
1093 1093
     /**
Please login to merge, or discard this patch.