Completed
Push — master ( 768836...f2fcb0 )
by Song
02:47 queued 11s
created
src/Auth/Database/HasPermissions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * Get all permissions of user.
11 11
      *
12
-     * @return mixed
12
+     * @return Collection
13 13
      */
14 14
     public function allPermissions(): Collection
15 15
     {
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Check if user has permission.
21 21
      *
22
-     * @param $ability
22
+     * @param string $ability
23 23
      * @param array $arguments
24 24
      *
25 25
      * @return bool
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Check if user is administrator.
58 58
      *
59
-     * @return mixed
59
+     * @return boolean
60 60
      */
61 61
     public function isAdministrator(): bool
62 62
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param string $role
70 70
      *
71
-     * @return mixed
71
+     * @return boolean
72 72
      */
73 73
     public function isRole(string $role): bool
74 74
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      *
81 81
      * @param array $roles
82 82
      *
83
-     * @return mixed
83
+     * @return boolean
84 84
      */
85 85
     public function inRoles(array $roles = []): bool
86 86
     {
Please login to merge, or discard this patch.
src/Grid/Filter/Presenter/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@
 block discarded – undo
303 303
      *
304 304
      * @param string $target
305 305
      *
306
-     * @return mixed
306
+     * @return string
307 307
      */
308 308
     protected function getClass($target): string
309 309
     {
Please login to merge, or discard this patch.
src/Widgets/ContainsForms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param array $forms
14 14
      * @param null  $active
15 15
      *
16
-     * @return mixed
16
+     * @return ContainsForms
17 17
      */
18 18
     public static function forms($forms, $active = null)
19 19
     {
Please login to merge, or discard this patch.
src/Widgets/Form.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Get form title.
127 127
      *
128
-     * @return mixed
128
+     * @return string
129 129
      */
130 130
     public function title()
131 131
     {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     }
142 142
 
143 143
     /**
144
-     * @return array
144
+     * @return Form
145 145
      */
146 146
     public function confirm($message)
147 147
     {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     /**
201 201
      * Add form attributes.
202 202
      *
203
-     * @param string|array $attr
203
+     * @param string $attr
204 204
      * @param string       $value
205 205
      *
206 206
      * @return $this
Please login to merge, or discard this patch.
src/Grid/Column.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     /**
360 360
      * Get name of this column.
361 361
      *
362
-     * @return mixed
362
+     * @return string
363 363
      */
364 364
     public function getName()
365 365
     {
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
     /**
398 398
      * Get label of the column.
399 399
      *
400
-     * @return mixed
400
+     * @return string
401 401
      */
402 402
     public function getLabel()
403 403
     {
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
      * Display using display abstract.
536 536
      *
537 537
      * @param string $abstract
538
-     * @param array  $arguments
538
+     * @param string[]  $arguments
539 539
      *
540 540
      * @return $this
541 541
      */
Please login to merge, or discard this patch.
src/Grid/Model.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
     /**
468 468
      * Resolve perPage for pagination.
469 469
      *
470
-     * @param array|null $paginate
470
+     * @param Model $paginate
471 471
      *
472 472
      * @return array
473 473
      */
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
     /**
498 498
      * Find query by method name.
499 499
      *
500
-     * @param $method
500
+     * @param string $method
501 501
      *
502 502
      * @return static
503 503
      */
@@ -651,7 +651,7 @@  discard block
 block discarded – undo
651 651
 
652 652
     /**
653 653
      * @param string $method
654
-     * @param array  $arguments
654
+     * @param integer[]  $arguments
655 655
      *
656 656
      * @return $this
657 657
      */
Please login to merge, or discard this patch.
src/Grid/Displayers/AbstractDisplayer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param mixed $key
82
+     * @param string $key
83 83
      *
84 84
      * @return mixed
85 85
      */
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
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
      *
287 287
      * @param string $column
288 288
      *
289
-     * @return mixed|string
289
+     * @return string
290 290
      */
291 291
     protected function formatColumn($column = '')
292 292
     {
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
     }
600 600
 
601 601
     /**
602
-     * @param string|array|Closure $input
602
+     * @param callable|null $input
603 603
      * @param string|array         $original
604 604
      *
605 605
      * @return array|Closure
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
     /**
811 811
      * Set or get value of the field.
812 812
      *
813
-     * @param null $value
813
+     * @param string $value
814 814
      *
815 815
      * @return mixed
816 816
      */
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
     /**
982 982
      * Add html attributes to elements.
983 983
      *
984
-     * @param array|string $attribute
984
+     * @param string $attribute
985 985
      * @param mixed        $value
986 986
      *
987 987
      * @return $this
@@ -1301,7 +1301,7 @@  discard block
 block discarded – undo
1301 1301
     /**
1302 1302
      * Set form group class.
1303 1303
      *
1304
-     * @param string|array $class
1304
+     * @param string[] $class
1305 1305
      *
1306 1306
      * @return $this
1307 1307
      */
@@ -1368,7 +1368,7 @@  discard block
 block discarded – undo
1368 1368
     }
1369 1369
 
1370 1370
     /**
1371
-     * @param array $labelClass
1371
+     * @param string[] $labelClass
1372 1372
      *
1373 1373
      * @return self
1374 1374
      */
@@ -1422,7 +1422,7 @@  discard block
 block discarded – undo
1422 1422
      *
1423 1423
      * @param string $view
1424 1424
      *
1425
-     * @return string
1425
+     * @return Field
1426 1426
      */
1427 1427
     public function setView($view): self
1428 1428
     {
Please login to merge, or discard this patch.
src/Form/Field/CanCascadeFields.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
     /**
102 102
      * @param int $group
103
-     * @return array
103
+     * @return string[]
104 104
      * @throws \Exception
105 105
      */
106 106
     protected function getDependentsElementClass(int $group)
Please login to merge, or discard this patch.