Completed
Pull Request — master (#2440)
by
unknown
02:30
created
src/Show.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -317,7 +317,7 @@
 block discarded – undo
317 317
      * @param string $method
318 318
      * @param array  $arguments
319 319
      *
320
-     * @return bool|mixed
320
+     * @return Field
321 321
      */
322 322
     public function __call($method, $arguments = [])
323 323
     {
Please login to merge, or discard this patch.
src/Show/Field.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Get name of this column.
90 90
      *
91
-     * @return mixed
91
+     * @return string
92 92
      */
93 93
     public function getName()
94 94
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Get label of the column.
114 114
      *
115
-     * @return mixed
115
+     * @return string
116 116
      */
117 117
     public function getLabel()
118 118
     {
Please login to merge, or discard this patch.
src/Show/Panel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
      * Fill fields to panel.
140 140
      *
141
-     * @param []Field $fields
141
+     * @param Collection $fields
142 142
      *
143 143
      * @return $this
144 144
      */
Please login to merge, or discard this patch.
src/Grid/Tools/BatchActions.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
      * Add a batch action.
54 54
      *
55
-     * @param $title
55
+     * @param BatchDelete $title
56 56
      * @param BatchAction|null $action
57 57
      *
58 58
      * @return $this
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
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     /**
412 412
      * Resolve perPage for pagination.
413 413
      *
414
-     * @param array|null $paginate
414
+     * @param Model $paginate
415 415
      *
416 416
      * @return array
417 417
      */
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * Find query by method name.
443 443
      *
444
-     * @param $method
444
+     * @param string $method
445 445
      *
446 446
      * @return static
447 447
      */
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
      *
535 535
      * @throws \Exception
536 536
      *
537
-     * @return array
537
+     * @return string[]
538 538
      */
539 539
     protected function joinParameters(Relation $relation)
540 540
     {
Please login to merge, or discard this patch.
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/Field.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Field constructor.
210 210
      *
211
-     * @param       $column
211
+     * @param       string $column
212 212
      * @param array $arguments
213 213
      */
214 214
     public function __construct($column, $arguments = [])
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
     /**
343 343
      * custom format form column data when edit.
344 344
      *
345
-     * @param Closure $call
345
+     * @param \Closure $call
346 346
      *
347 347
      * @return [null]
348 348
      */
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
     /**
423 423
      * Get or set rules.
424 424
      *
425
-     * @param null  $rules
425
+     * @param string  $rules
426 426
      * @param array $messages
427 427
      *
428 428
      * @return $this
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
     /**
521 521
      * Set or get value of the field.
522 522
      *
523
-     * @param null $value
523
+     * @param string $value
524 524
      *
525 525
      * @return mixed
526 526
      */
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
     /**
674 674
      * Add html attributes to elements.
675 675
      *
676
-     * @param array|string $attribute
676
+     * @param string $attribute
677 677
      * @param mixed        $value
678 678
      *
679 679
      * @return $this
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
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      *
267 267
      * @param $id
268 268
      *
269
-     * @return mixed
269
+     * @return \Illuminate\Http\RedirectResponse
270 270
      */
271 271
     public function destroy($id)
272 272
     {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      *
377 377
      * @param array $data
378 378
      *
379
-     * @return mixed
379
+     * @return Response|null
380 380
      */
381 381
     protected function prepare($data = [])
382 382
     {
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
     /**
437 437
      * Call submitted callback.
438 438
      *
439
-     * @return mixed
439
+     * @return Response|null
440 440
      */
441 441
     protected function callSubmitted()
442 442
     {
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     /**
451 451
      * Call saving callback.
452 452
      *
453
-     * @return mixed
453
+     * @return Response|null
454 454
      */
455 455
     protected function callSaving()
456 456
     {
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
     /**
465 465
      * Callback after saving a Model.
466 466
      *
467
-     * @return mixed|null
467
+     * @return Response|null
468 468
      */
469 469
     protected function callSaved()
470 470
     {
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
     /**
559 559
      * Get RedirectResponse after update.
560 560
      *
561
-     * @param mixed $key
561
+     * @param integer $key
562 562
      *
563 563
      * @return \Illuminate\Http\RedirectResponse
564 564
      */
Please login to merge, or discard this patch.