Completed
Pull Request — master (#1350)
by
unknown
03:01
created
src/Grid/Displayers/Actions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -108,6 +108,7 @@
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * {@inheritdoc}
111
+     * @param \Closure $callback
111 112
      */
112 113
     public function display($callback = null)
113 114
     {
Please login to merge, or discard this patch.
src/Traits/ModelTree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
     /**
230 230
      * Get options for Select field in form.
231 231
      *
232
-     * @return \Illuminate\Support\Collection
232
+     * @return callable
233 233
      */
234 234
     public static function selectOptions()
235 235
     {
Please login to merge, or discard this patch.
src/Tree.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,6 @@
 block discarded – undo
282 282
     /**
283 283
      * Return all items of the tree.
284 284
      *
285
-     * @param array $items
286 285
      */
287 286
     public function getItems()
288 287
     {
Please login to merge, or discard this patch.
src/Tree/Tools.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
     /**
27 27
      * Create a new Tools instance.
28 28
      *
29
-     * @param Builder $builder
30 29
      */
31 30
     public function __construct(Tree $tree)
32 31
     {
Please login to merge, or discard this patch.
src/Controllers/ModelForm.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/Auth/Database/HasPermissions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Get all permissions of user.
57 57
      *
58
-     * @return mixed
58
+     * @return Collection
59 59
      */
60 60
     public function allPermissions() : Collection
61 61
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Check if user is administrator.
99 99
      *
100
-     * @return mixed
100
+     * @return boolean
101 101
      */
102 102
     public function isAdministrator() : bool
103 103
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param string $role
111 111
      *
112
-     * @return mixed
112
+     * @return boolean
113 113
      */
114 114
     public function isRole(string $role) : bool
115 115
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param array $roles
123 123
      *
124
-     * @return mixed
124
+     * @return boolean
125 125
      */
126 126
     public function inRoles(array $roles = []) : bool
127 127
     {
Please login to merge, or discard this patch.
src/Grid/Filter/Presenter/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
      *
169 169
      * @param string $target
170 170
      *
171
-     * @return mixed
171
+     * @return string
172 172
      */
173 173
     protected function getClass($target) : string
174 174
     {
Please login to merge, or discard this patch.
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/Controllers/AuthController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * User logout.
60 60
      *
61
-     * @return Redirect
61
+     * @return \Illuminate\Http\RedirectResponse
62 62
      */
63 63
     public function getLogout()
64 64
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * User setting page.
74 74
      *
75
-     * @return mixed
75
+     * @return Content
76 76
      */
77 77
     public function getSetting()
78 78
     {
Please login to merge, or discard this patch.