Completed
Pull Request — master (#5195)
by
unknown
02:42
created
src/Form/Field.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      *
283 283
      * @param string $column
284 284
      *
285
-     * @return mixed|string
285
+     * @return string
286 286
      */
287 287
     protected function formatColumn($column = '')
288 288
     {
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
     }
592 592
 
593 593
     /**
594
-     * @param string|array|Closure $input
594
+     * @param callable|null $input
595 595
      * @param string|array $original
596 596
      *
597 597
      * @return array|Closure
@@ -802,7 +802,7 @@  discard block
 block discarded – undo
802 802
     /**
803 803
      * Set or get value of the field.
804 804
      *
805
-     * @param null $value
805
+     * @param string $value
806 806
      *
807 807
      * @return mixed
808 808
      */
@@ -1001,7 +1001,7 @@  discard block
 block discarded – undo
1001 1001
     /**
1002 1002
      * Add html attributes to elements.
1003 1003
      *
1004
-     * @param array|string $attribute
1004
+     * @param string $attribute
1005 1005
      * @param mixed $value
1006 1006
      *
1007 1007
      * @return $this
@@ -1131,7 +1131,7 @@  discard block
 block discarded – undo
1131 1131
     /**
1132 1132
      * Get placeholder.
1133 1133
      *
1134
-     * @return mixed
1134
+     * @return string
1135 1135
      */
1136 1136
     public function getPlaceholder()
1137 1137
     {
@@ -1388,7 +1388,7 @@  discard block
 block discarded – undo
1388 1388
     }
1389 1389
 
1390 1390
     /**
1391
-     * @param array $labelClass
1391
+     * @param string[] $labelClass
1392 1392
      * @param bool $replace
1393 1393
      *
1394 1394
      * @return self
@@ -1443,7 +1443,7 @@  discard block
 block discarded – undo
1443 1443
      *
1444 1444
      * @param string $view
1445 1445
      *
1446
-     * @return string
1446
+     * @return Field
1447 1447
      */
1448 1448
     public function setView($view): self
1449 1449
     {
Please login to merge, or discard this patch.