@@ -55,7 +55,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -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 | { |
@@ -107,6 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | + * @param string $name |
|
| 110 | 111 | * @return string |
| 111 | 112 | */ |
| 112 | 113 | protected function elementNameWithPrefix($name) |
@@ -317,7 +317,7 @@ |
||
| 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 | { |
@@ -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 | { |
@@ -138,7 +138,7 @@ |
||
| 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 | */ |
@@ -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 |