Completed
Pull Request — master (#2802)
by lingfeng
02:31
created
src/Controllers/AuthController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param Request $request
36 36
      *
37
-     * @return mixed
37
+     * @return \Illuminate\Http\RedirectResponse
38 38
      */
39 39
     public function postLogin(Request $request)
40 40
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * User logout.
64 64
      *
65
-     * @return Redirect
65
+     * @return \Illuminate\Http\RedirectResponse
66 66
      */
67 67
     public function getLogout(Request $request)
68 68
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      *
171 171
      * @param \Illuminate\Http\Request $request
172 172
      *
173
-     * @return \Illuminate\Http\Response
173
+     * @return \Illuminate\Http\RedirectResponse
174 174
      */
175 175
     protected function sendLoginResponse(Request $request)
176 176
     {
Please login to merge, or discard this patch.
src/Form.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      *
266 266
      * @param $id
267 267
      *
268
-     * @return mixed
268
+     * @return boolean
269 269
      */
270 270
     public function destroy($id)
271 271
     {
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
      *
370 370
      * @param array $data
371 371
      *
372
-     * @return mixed
372
+     * @return Response|null
373 373
      */
374 374
     protected function prepare($data = [])
375 375
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
     /**
430 430
      * Call submitted callback.
431 431
      *
432
-     * @return mixed
432
+     * @return Response|null
433 433
      */
434 434
     protected function callSubmitted()
435 435
     {
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
     /**
444 444
      * Call saving callback.
445 445
      *
446
-     * @return mixed
446
+     * @return Response|null
447 447
      */
448 448
     protected function callSaving()
449 449
     {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
     /**
458 458
      * Callback after saving a Model.
459 459
      *
460
-     * @return mixed|null
460
+     * @return Response|null
461 461
      */
462 462
     protected function callSaved()
463 463
     {
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
     /**
552 552
      * Get RedirectResponse after update.
553 553
      *
554
-     * @param mixed $key
554
+     * @param integer $key
555 555
      *
556 556
      * @return \Illuminate\Http\RedirectResponse
557 557
      */
Please login to merge, or discard this patch.
src/Grid/Tools/Paginator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Get Pagination links.
44 44
      *
45
-     * @return string
45
+     * @return \Illuminate\Support\HtmlString
46 46
      */
47 47
     protected function paginationLinks()
48 48
     {
Please login to merge, or discard this patch.
src/Grid/Tools/PerPageSelector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * Get options for selector.
49 49
      *
50
-     * @return static
50
+     * @return \Illuminate\Support\Collection
51 51
      */
52 52
     public function getOptions()
53 53
     {
Please login to merge, or discard this patch.
src/Tree.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * Set query callback this tree.
141 141
      *
142
-     * @return Model
142
+     * @return Tree
143 143
      */
144 144
     public function query(\Closure $callback)
145 145
     {
@@ -312,7 +312,6 @@  discard block
 block discarded – undo
312 312
     /**
313 313
      * Return all items of the tree.
314 314
      *
315
-     * @param array $items
316 315
      */
317 316
     public function getItems()
318 317
     {
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      * Get or set option for grid.
231 231
      *
232 232
      * @param string $key
233
-     * @param mixed  $value
233
+     * @param boolean  $value
234 234
      *
235 235
      * @return $this|mixed
236 236
      */
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     /**
361 361
      * Get the grid paginator.
362 362
      *
363
-     * @return mixed
363
+     * @return Tools\Paginator
364 364
      */
365 365
     public function paginator()
366 366
     {
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
      *
548 548
      * @param bool $toArray
549 549
      *
550
-     * @return array|Collection|mixed
550
+     * @return Collection
551 551
      */
552 552
     public function processFilter($toArray = true)
553 553
     {
Please login to merge, or discard this patch.
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/Form/Field.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Field constructor.
217 217
      *
218
-     * @param       $column
218
+     * @param       string $column
219 219
      * @param array $arguments
220 220
      */
221 221
     public function __construct($column, $arguments = [])
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
     /**
450 450
      * Get or set rules.
451 451
      *
452
-     * @param null  $rules
452
+     * @param string  $rules
453 453
      * @param array $messages
454 454
      *
455 455
      * @return $this
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
     /**
548 548
      * Set or get value of the field.
549 549
      *
550
-     * @param null $value
550
+     * @param string $value
551 551
      *
552 552
      * @return mixed
553 553
      */
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
     /**
701 701
      * Add html attributes to elements.
702 702
      *
703
-     * @param array|string $attribute
703
+     * @param string $attribute
704 704
      * @param mixed        $value
705 705
      *
706 706
      * @return $this
@@ -992,7 +992,7 @@  discard block
 block discarded – undo
992 992
     }
993 993
 
994 994
     /**
995
-     * @param array $labelClass
995
+     * @param string[] $labelClass
996 996
      *
997 997
      * @return self
998 998
      */
Please login to merge, or discard this patch.