Completed
Pull Request — master (#3469)
by jxlwqq
02:17
created
src/Auth/Database/Permission.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      *
92 92
      * @param string $path
93 93
      *
94
-     * @return mixed
94
+     * @return string
95 95
      */
96 96
     public function getHttpPathAttribute($path)
97 97
     {
Please login to merge, or discard this patch.
src/Form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      *
437 437
      * @param array $data
438 438
      *
439
-     * @return mixed
439
+     * @return Response|null
440 440
      */
441 441
     protected function prepare($data = [])
442 442
     {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
     /**
577 577
      * Get RedirectResponse after update.
578 578
      *
579
-     * @param mixed $key
579
+     * @param integer $key
580 580
      *
581 581
      * @return \Illuminate\Http\RedirectResponse
582 582
      */
Please login to merge, or discard this patch.
src/Grid/Concerns/HasElementNames.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -107,6 +107,7 @@
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
+     * @param string $name
110 111
      * @return string
111 112
      */
112 113
     protected function elementNameWithPrefix($name)
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      *
282 282
      * @param string $column
283 283
      *
284
-     * @return mixed|string
284
+     * @return string
285 285
      */
286 286
     protected function formatColumn($column = '')
287 287
     {
@@ -566,7 +566,7 @@  discard block
 block discarded – undo
566 566
     }
567 567
 
568 568
     /**
569
-     * @param string|array|Closure $input
569
+     * @param callable|null $input
570 570
      * @param string|array         $original
571 571
      *
572 572
      * @return array|Closure
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
     /**
770 770
      * Set or get value of the field.
771 771
      *
772
-     * @param null $value
772
+     * @param string $value
773 773
      *
774 774
      * @return mixed
775 775
      */
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
     /**
941 941
      * Add html attributes to elements.
942 942
      *
943
-     * @param array|string $attribute
943
+     * @param string $attribute
944 944
      * @param mixed        $value
945 945
      *
946 946
      * @return $this
@@ -1277,7 +1277,7 @@  discard block
 block discarded – undo
1277 1277
     }
1278 1278
 
1279 1279
     /**
1280
-     * @param array $labelClass
1280
+     * @param string[] $labelClass
1281 1281
      *
1282 1282
      * @return self
1283 1283
      */
@@ -1332,7 +1332,7 @@  discard block
 block discarded – undo
1332 1332
      *
1333 1333
      * @param string $view
1334 1334
      *
1335
-     * @return string
1335
+     * @return Field
1336 1336
      */
1337 1337
     public function setView($view)
1338 1338
     {
Please login to merge, or discard this patch.
src/Widgets/Carousel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Carousel constructor.
26 26
      *
27
-     * @param array $items
27
+     * @param \Illuminate\Support\Collection $items
28 28
      */
29 29
     public function __construct($items = [])
30 30
     {
Please login to merge, or discard this patch.
src/Widgets/Form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * Get form title.
115 115
      *
116
-     * @return mixed
116
+     * @return string
117 117
      */
118 118
     protected function title()
119 119
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Add form attributes.
178 178
      *
179
-     * @param string|array $attr
179
+     * @param string $attr
180 180
      * @param string       $value
181 181
      *
182 182
      * @return $this
Please login to merge, or discard this patch.
src/Grid/Concerns/CanHidesColumns.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * Setting default shown columns on grid.
48 48
      *
49
-     * @param array|string $columns
49
+     * @param string $columns
50 50
      *
51 51
      * @return $this
52 52
      */
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      * Get or set option for grid.
270 270
      *
271 271
      * @param string $key
272
-     * @param mixed  $value
272
+     * @param boolean  $value
273 273
      *
274 274
      * @return $this|mixed
275 275
      */
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
     /**
455 455
      * Get the grid paginator.
456 456
      *
457
-     * @return mixed
457
+     * @return Tools\Paginator
458 458
      */
459 459
     public function paginator()
460 460
     {
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
     /**
507 507
      * Set grid action callback.
508 508
      *
509
-     * @param Closure|string $actions
509
+     * @param Closure $actions
510 510
      *
511 511
      * @return $this
512 512
      */
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
     /**
839 839
      * Dynamically add columns to the grid view.
840 840
      *
841
-     * @param $method
841
+     * @param string $method
842 842
      * @param $arguments
843 843
      *
844 844
      * @return Column
Please login to merge, or discard this patch.
src/Grid/Column.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     /**
166 166
      * Extend column displayer.
167 167
      *
168
-     * @param $name
168
+     * @param string $name
169 169
      * @param $displayer
170 170
      */
171 171
     public static function extend($name, $displayer)
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * Set model for column.
201 201
      *
202
-     * @param $model
202
+     * @param Model $model
203 203
      */
204 204
     public function setModel($model)
205 205
     {
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     /**
272 272
      * Get name of this column.
273 273
      *
274
-     * @return mixed
274
+     * @return string
275 275
      */
276 276
     public function getName()
277 277
     {
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     /**
300 300
      * Get label of the column.
301 301
      *
302
-     * @return mixed
302
+     * @return string
303 303
      */
304 304
     public function getLabel()
305 305
     {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
      * Display using display abstract.
387 387
      *
388 388
      * @param string $abstract
389
-     * @param array  $arguments
389
+     * @param Closure[]  $arguments
390 390
      *
391 391
      * @return Column
392 392
      */
Please login to merge, or discard this patch.