Completed
Push — master ( 82be35...1537c0 )
by Song
02:28
created
src/Form/Field.php 1 patch
Doc Comments   +9 added lines, -9 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
      */
@@ -973,7 +973,7 @@  discard block
 block discarded – undo
973 973
     /**
974 974
      * Add html attributes to elements.
975 975
      *
976
-     * @param array|string $attribute
976
+     * @param string $attribute
977 977
      * @param mixed        $value
978 978
      *
979 979
      * @return $this
@@ -1103,7 +1103,7 @@  discard block
 block discarded – undo
1103 1103
     /**
1104 1104
      * Get placeholder.
1105 1105
      *
1106
-     * @return mixed
1106
+     * @return string
1107 1107
      */
1108 1108
     public function getPlaceholder()
1109 1109
     {
@@ -1360,7 +1360,7 @@  discard block
 block discarded – undo
1360 1360
     }
1361 1361
 
1362 1362
     /**
1363
-     * @param array $labelClass
1363
+     * @param string[] $labelClass
1364 1364
      *
1365 1365
      * @return self
1366 1366
      */
@@ -1414,7 +1414,7 @@  discard block
 block discarded – undo
1414 1414
      *
1415 1415
      * @param string $view
1416 1416
      *
1417
-     * @return string
1417
+     * @return Field
1418 1418
      */
1419 1419
     public function setView($view): self
1420 1420
     {
@@ -1490,7 +1490,7 @@  discard block
 block discarded – undo
1490 1490
     /**
1491 1491
      * Render this filed.
1492 1492
      *
1493
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
1493
+     * @return string|null
1494 1494
      */
1495 1495
     public function render()
1496 1496
     {
@@ -1510,7 +1510,7 @@  discard block
 block discarded – undo
1510 1510
     }
1511 1511
 
1512 1512
     /**
1513
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
1513
+     * @return string|null
1514 1514
      */
1515 1515
     protected function fieldRender(array $variables = [])
1516 1516
     {
Please login to merge, or discard this patch.
src/Form/Field/Embeds.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
     /**
245 245
      * Render the form.
246 246
      *
247
-     * @return \Illuminate\View\View
247
+     * @return string|null
248 248
      */
249 249
     public function render()
250 250
     {
Please login to merge, or discard this patch.
src/Form/Field/HasMany.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
      *
643 643
      * @throws \Exception
644 644
      *
645
-     * @return \Illuminate\View\View
645
+     * @return string|null
646 646
      */
647 647
     public function render()
648 648
     {
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
      *
676 676
      * @throws \Exception
677 677
      *
678
-     * @return mixed
678
+     * @return string|null
679 679
      */
680 680
     protected function renderTable()
681 681
     {
Please login to merge, or discard this patch.