Completed
Pull Request — master (#2014)
by Song
02:47
created
src/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 abstract class Extension
10 10
 {
11
+    /**
12
+     * @param string $key
13
+     */
11 14
     public static function config($key, $default = null)
12 15
     {
13 16
         $name = array_search(get_called_class(), Admin::$extensions);
Please login to merge, or discard this patch.
src/Form/Field/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @param array|callable|string $options
40 40
      *
41
-     * @return $this|mixed
41
+     * @return Select
42 42
      */
43 43
     public function options($options = [])
44 44
     {
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * Field constructor.
190 190
      *
191
-     * @param $column
191
+     * @param string $column
192 192
      * @param array $arguments
193 193
      */
194 194
     public function __construct($column, $arguments = [])
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     /**
388 388
      * Get or set rules.
389 389
      *
390
-     * @param null  $rules
390
+     * @param string  $rules
391 391
      * @param array $messages
392 392
      *
393 393
      * @return $this
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
     /**
630 630
      * Add html attributes to elements.
631 631
      *
632
-     * @param array|string $attribute
632
+     * @param string $attribute
633 633
      * @param mixed        $value
634 634
      *
635 635
      * @return $this
Please login to merge, or discard this patch.
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.