Completed
Pull Request — master (#2279)
by leo
02:42
created
src/Controllers/AuthController.php 1 patch
Doc Comments   +4 added lines, -4 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
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * User setting page.
78 78
      *
79
-     * @return mixed
79
+     * @return Content
80 80
      */
81 81
     public function getSetting()
82 82
     {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      *
168 168
      * @param \Illuminate\Http\Request $request
169 169
      *
170
-     * @return \Illuminate\Http\Response
170
+     * @return \Illuminate\Http\RedirectResponse
171 171
      */
172 172
     protected function sendLoginResponse(Request $request)
173 173
     {
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      * Field constructor.
204 204
      *
205
-     * @param       $column
205
+     * @param       string $column
206 206
      * @param array $arguments
207 207
      */
208 208
     public function __construct($column, $arguments = [])
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     /**
402 402
      * Get or set rules.
403 403
      *
404
-     * @param null  $rules
404
+     * @param string  $rules
405 405
      * @param array $messages
406 406
      *
407 407
      * @return $this
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
     /**
495 495
      * Set or get value of the field.
496 496
      *
497
-     * @param null $value
497
+     * @param string $value
498 498
      *
499 499
      * @return mixed
500 500
      */
@@ -647,7 +647,7 @@  discard block
 block discarded – undo
647 647
     /**
648 648
      * Add html attributes to elements.
649 649
      *
650
-     * @param array|string $attribute
650
+     * @param string $attribute
651 651
      * @param mixed        $value
652 652
      *
653 653
      * @return $this
Please login to merge, or discard this patch.
src/Grid/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/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/Form.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      *
280 280
      * @param $id
281 281
      *
282
-     * @return mixed
282
+     * @return boolean
283 283
      */
284 284
     public function destroy($id)
285 285
     {
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     /**
319 319
      * Store a new record.
320 320
      *
321
-     * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|\Illuminate\Http\JsonResponse
321
+     * @return Response
322 322
      */
323 323
     public function store()
324 324
     {
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
      *
384 384
      * @param array $data
385 385
      *
386
-     * @return mixed
386
+     * @return Response|null
387 387
      */
388 388
     protected function prepare($data = [])
389 389
     {
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     /**
562 562
      * Get RedirectResponse after update.
563 563
      *
564
-     * @param mixed $key
564
+     * @param integer $key
565 565
      * @return \Illuminate\Http\RedirectResponse
566 566
      */
567 567
     protected function redirectAfterUpdate($key)
@@ -891,7 +891,7 @@  discard block
 block discarded – undo
891 891
     /**
892 892
      * Set saved callback.
893 893
      *
894
-     * @param callable $callback
894
+     * @param Closure $callback
895 895
      *
896 896
      * @return void
897 897
      */
Please login to merge, or discard this patch.