@@ -108,6 +108,7 @@ |
||
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | 110 | * {@inheritdoc} |
| 111 | + * @param \Closure $callback |
|
| 111 | 112 | */ |
| 112 | 113 | public function display($callback = null) |
| 113 | 114 | { |
@@ -229,7 +229,7 @@ |
||
| 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 | { |
@@ -282,7 +282,6 @@ |
||
| 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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * Get or set option for grid. |
| 229 | 229 | * |
| 230 | 230 | * @param string $key |
| 231 | - * @param mixed $value |
|
| 231 | + * @param boolean $value |
|
| 232 | 232 | * |
| 233 | 233 | * @return $this|mixed |
| 234 | 234 | */ |
@@ -358,7 +358,7 @@ discard block |
||
| 358 | 358 | /** |
| 359 | 359 | * Get the grid paginator. |
| 360 | 360 | * |
| 361 | - * @return mixed |
|
| 361 | + * @return Tools\Paginator |
|
| 362 | 362 | */ |
| 363 | 363 | public function paginator() |
| 364 | 364 | { |
@@ -722,7 +722,7 @@ discard block |
||
| 722 | 722 | * |
| 723 | 723 | * @param Closure|null $closure |
| 724 | 724 | * |
| 725 | - * @return $this|Tools\Footer |
|
| 725 | + * @return callable |
|
| 726 | 726 | */ |
| 727 | 727 | public function footer(Closure $closure = null) |
| 728 | 728 | { |
@@ -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 | { |