Completed
Pull Request — master (#2161)
by
unknown
03:01
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
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * Field constructor.
198 198
      *
199
-     * @param $column
199
+     * @param string $column
200 200
      * @param array $arguments
201 201
      */
202 202
     public function __construct($column, $arguments = [])
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     /**
396 396
      * Get or set rules.
397 397
      *
398
-     * @param null  $rules
398
+     * @param string  $rules
399 399
      * @param array $messages
400 400
      *
401 401
      * @return $this
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
     /**
489 489
      * Set or get value of the field.
490 490
      *
491
-     * @param null $value
491
+     * @param string $value
492 492
      *
493 493
      * @return mixed
494 494
      */
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     /**
642 642
      * Add html attributes to elements.
643 643
      *
644
-     * @param array|string $attribute
644
+     * @param string $attribute
645 645
      * @param mixed        $value
646 646
      *
647 647
      * @return $this
Please login to merge, or discard this patch.
src/Controllers/UserController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @param int $id
35 35
      *
36
-     * @return \Illuminate\Http\Response
36
+     * @return \Illuminate\Http\JsonResponse
37 37
      */
38 38
     public function destroy($id)
39 39
     {
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
@@ -276,9 +276,9 @@  discard block
 block discarded – undo
276 276
     /**
277 277
      * Destroy data entity and remove files.
278 278
      *
279
-     * @param $id
279
+     * @param integer $id
280 280
      *
281
-     * @return mixed
281
+     * @return boolean
282 282
      */
283 283
     public function destroy($id)
284 284
     {
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
     /**
318 318
      * Store a new record.
319 319
      *
320
-     * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|\Illuminate\Http\JsonResponse
320
+     * @return Response
321 321
      */
322 322
     public function store()
323 323
     {
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
      *
397 397
      * @param array $data
398 398
      *
399
-     * @return mixed
399
+     * @return Response|null
400 400
      */
401 401
     protected function prepare($data = [])
402 402
     {
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
     /**
868 868
      * Set saved callback.
869 869
      *
870
-     * @param callable $callback
870
+     * @param Closure $callback
871 871
      *
872 872
      * @return void
873 873
      */
Please login to merge, or discard this patch.