Completed
Push — master ( 1fe75f...12dabe )
by Song
02:17
created
src/Grid/Column.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Extend column displayer.
127 127
      *
128
-     * @param $name
128
+     * @param string $name
129 129
      * @param $displayer
130 130
      */
131 131
     public static function extend($name, $displayer)
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * Set model for column.
161 161
      *
162
-     * @param $model
162
+     * @param Model $model
163 163
      */
164 164
     public function setModel($model)
165 165
     {
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      * Get name of this column.
221 221
      *
222
-     * @return mixed
222
+     * @return string
223 223
      */
224 224
     public function getName()
225 225
     {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Format label.
231 231
      *
232
-     * @param $label
232
+     * @param string $label
233 233
      *
234 234
      * @return mixed
235 235
      */
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     /**
244 244
      * Get label of the column.
245 245
      *
246
-     * @return mixed
246
+     * @return string
247 247
      */
248 248
     public function getLabel()
249 249
     {
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      * Display using display abstract.
307 307
      *
308 308
      * @param string $abstract
309
-     * @param array  $arguments
309
+     * @param Closure[]  $arguments
310 310
      *
311 311
      * @return Column
312 312
      */
Please login to merge, or discard this patch.
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
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Check if user is administrator.
54 54
      *
55
-     * @return mixed
55
+     * @return boolean
56 56
      */
57 57
     public function isAdministrator() : bool
58 58
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param string $role
66 66
      *
67
-     * @return mixed
67
+     * @return boolean
68 68
      */
69 69
     public function isRole(string $role) : bool
70 70
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *
77 77
      * @param array $roles
78 78
      *
79
-     * @return mixed
79
+     * @return boolean
80 80
      */
81 81
     public function inRoles(array $roles = []) : bool
82 82
     {
Please login to merge, or discard this patch.
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/Grid/Concerns/HasFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      *
53 53
      * @param bool $toArray
54 54
      *
55
-     * @return array|Collection|mixed
55
+     * @return Collection
56 56
      */
57 57
     public function processFilter($toArray = true)
58 58
     {
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
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     /**
248 248
      * Field constructor.
249 249
      *
250
-     * @param       $column
250
+     * @param       string $column
251 251
      * @param array $arguments
252 252
      */
253 253
     public function __construct($column, $arguments = [])
@@ -537,7 +537,7 @@  discard block
 block discarded – undo
537 537
     }
538 538
 
539 539
     /**
540
-     * @param string|array|Closure $input
540
+     * @param callable|null $input
541 541
      * @param string|array         $original
542 542
      *
543 543
      * @return array|Closure
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
     /**
737 737
      * Set or get value of the field.
738 738
      *
739
-     * @param null $value
739
+     * @param string $value
740 740
      *
741 741
      * @return mixed
742 742
      */
@@ -907,7 +907,7 @@  discard block
 block discarded – undo
907 907
     /**
908 908
      * Add html attributes to elements.
909 909
      *
910
-     * @param array|string $attribute
910
+     * @param string $attribute
911 911
      * @param mixed        $value
912 912
      *
913 913
      * @return $this
@@ -1244,7 +1244,7 @@  discard block
 block discarded – undo
1244 1244
     }
1245 1245
 
1246 1246
     /**
1247
-     * @param array $labelClass
1247
+     * @param string[] $labelClass
1248 1248
      *
1249 1249
      * @return self
1250 1250
      */
@@ -1299,7 +1299,7 @@  discard block
 block discarded – undo
1299 1299
      *
1300 1300
      * @param string $view
1301 1301
      *
1302
-     * @return string
1302
+     * @return Field
1303 1303
      */
1304 1304
     public function setView($view)
1305 1305
     {
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      * Get or set option for grid.
261 261
      *
262 262
      * @param string $key
263
-     * @param mixed  $value
263
+     * @param boolean  $value
264 264
      *
265 265
      * @return $this|mixed
266 266
      */
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
     /**
465 465
      * Get the grid paginator.
466 466
      *
467
-     * @return mixed
467
+     * @return Tools\Paginator
468 468
      */
469 469
     public function paginator()
470 470
     {
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
     /**
517 517
      * Set grid action callback.
518 518
      *
519
-     * @param Closure|string $actions
519
+     * @param Closure $actions
520 520
      *
521 521
      * @return $this
522 522
      */
@@ -876,8 +876,8 @@  discard block
 block discarded – undo
876 876
     /**
877 877
      * Dynamically add columns to the grid view.
878 878
      *
879
-     * @param $method
880
-     * @param $arguments
879
+     * @param string $method
880
+     * @param string[] $arguments
881 881
      *
882 882
      * @return Column
883 883
      */
Please login to merge, or discard this patch.