@@ -26,7 +26,6 @@ |
||
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 | { |
@@ -168,7 +168,7 @@ |
||
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 | { |
@@ -331,7 +331,7 @@ |
||
331 | 331 | * |
332 | 332 | * @param Presenter $presenter |
333 | 333 | * |
334 | - * @return mixed |
|
334 | + * @return Presenter |
|
335 | 335 | */ |
336 | 336 | protected function setPresenter(Presenter $presenter) |
337 | 337 | { |
@@ -38,7 +38,7 @@ |
||
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 | { |
@@ -88,7 +88,7 @@ discard block |
||
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 |
||
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 | { |
@@ -52,7 +52,7 @@ |
||
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 |
@@ -34,7 +34,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * Get all permissions of user. |
11 | 11 | * |
12 | - * @return mixed |
|
12 | + * @return Collection |
|
13 | 13 | */ |
14 | 14 | public function allPermissions() : Collection |
15 | 15 | { |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Check if user has permission. |
21 | 21 | * |
22 | - * @param $ability |
|
22 | + * @param string $ability |
|
23 | 23 | * @param array $arguments |
24 | 24 | * |
25 | 25 | * @return bool |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Check if user is administrator. |
54 | 54 | * |
55 | - * @return mixed |
|
55 | + * @return boolean |
|
56 | 56 | */ |
57 | 57 | public function isAdministrator() : bool |
58 | 58 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @param string $role |
66 | 66 | * |
67 | - * @return mixed |
|
67 | + * @return boolean |
|
68 | 68 | */ |
69 | 69 | public function isRole(string $role) : bool |
70 | 70 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @param array $roles |
78 | 78 | * |
79 | - * @return mixed |
|
79 | + * @return boolean |
|
80 | 80 | */ |
81 | 81 | public function inRoles(array $roles = []) : bool |
82 | 82 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | * |
92 | 92 | * @param string $path |
93 | 93 | * |
94 | - * @return mixed |
|
94 | + * @return string |
|
95 | 95 | */ |
96 | 96 | public function getHttpPathAttribute($path) |
97 | 97 | { |