Completed
Pull Request — master (#5062)
by zi
03:00
created
src/Grid/Displayers/BelongsTo.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     /**
11 11
      * @param int $multiple
12
+     * @param string|null $selectable
12 13
      *
13 14
      * @return string
14 15
      */
Please login to merge, or discard this patch.
src/Grid/Displayers/DropdownActions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * @param null|\Closure $callback
125 125
      *
126
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
126
+     * @return string|null
127 127
      */
128 128
     public function display($callback = null)
129 129
     {
Please login to merge, or discard this patch.
src/Grid/Displayers/Modal.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@  discard block
 block discarded – undo
14 14
     protected $renderable;
15 15
 
16 16
     /**
17
-     * @param int $multiple
18 17
      *
19 18
      * @return string
20 19
      */
@@ -28,7 +27,7 @@  discard block
 block discarded – undo
28 27
     /**
29 28
      * @param \Closure|string $callback
30 29
      *
31
-     * @return mixed|string
30
+     * @return string
32 31
      */
33 32
     public function display($callback = null)
34 33
     {
Please login to merge, or discard this patch.
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
      */
@@ -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
      * @param bool  $replace
1365 1365
      *
1366 1366
      * @return self
@@ -1415,7 +1415,7 @@  discard block
 block discarded – undo
1415 1415
      *
1416 1416
      * @param string $view
1417 1417
      *
1418
-     * @return string
1418
+     * @return Field
1419 1419
      */
1420 1420
     public function setView($view): self
1421 1421
     {
Please login to merge, or discard this patch.
src/Form/Field/PlainInput.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     protected $append;
16 16
 
17 17
     /**
18
-     * @param mixed $string
18
+     * @param string $string
19 19
      *
20 20
      * @return $this
21 21
      */
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @param mixed $string
32
+     * @param string $string
33 33
      *
34 34
      * @return $this
35 35
      */
Please login to merge, or discard this patch.
src/Grid/Column.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,6 +201,7 @@  discard block
 block discarded – undo
201 201
      * Get column attributes.
202 202
      *
203 203
      * @param string $name
204
+     * @param string $key
204 205
      *
205 206
      * @return mixed
206 207
      */
@@ -281,7 +282,7 @@  discard block
 block discarded – undo
281 282
     /**
282 283
      * Get name of this column.
283 284
      *
284
-     * @return mixed
285
+     * @return string
285 286
      */
286 287
     public function getName()
287 288
     {
@@ -319,7 +320,7 @@  discard block
 block discarded – undo
319 320
     /**
320 321
      * Get label of the column.
321 322
      *
322
-     * @return mixed
323
+     * @return string
323 324
      */
324 325
     public function getLabel()
325 326
     {
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
      * Determine the column name to use with the embedded form
246 246
      *
247
-     * @return array|string
247
+     * @return string
248 248
      */
249 249
     protected function getEmbeddedColumnName()
250 250
     {
Please login to merge, or discard this patch.