@@ -48,7 +48,7 @@ |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return Collection|\SleepingOwl\Admin\Contracts\ActionInterface[] |
|
| 51 | + * @return ColumnFilterInterface[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function all() |
| 54 | 54 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param array|string $scopes |
| 24 | 24 | * |
| 25 | - * @return $this |
|
| 25 | + * @return \SleepingOwl\Admin\Contracts\DisplayInterface |
|
| 26 | 26 | */ |
| 27 | 27 | public function set($scopes) |
| 28 | 28 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return string |
|
| 51 | + * @return integer |
|
| 52 | 52 | */ |
| 53 | 53 | public function getSize() |
| 54 | 54 | { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | /** |
| 47 | 47 | * Move model in the $destination. |
| 48 | 48 | * |
| 49 | - * @param $destination -1 (move down) or 1 (move up) |
|
| 49 | + * @param integer $destination -1 (move down) or 1 (move up) |
|
| 50 | 50 | */ |
| 51 | 51 | protected function move($destination) |
| 52 | 52 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | /** |
| 81 | 81 | * @param string $editorId |
| 82 | 82 | * |
| 83 | - * @return bool |
|
| 83 | + * @return boolean|null |
|
| 84 | 84 | */ |
| 85 | 85 | public function loadEditor($editorId) |
| 86 | 86 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param array|string $scopes |
| 24 | 24 | * |
| 25 | - * @return $this |
|
| 25 | + * @return \SleepingOwl\Admin\Contracts\DisplayInterface |
|
| 26 | 26 | */ |
| 27 | 27 | public function set($scopes) |
| 28 | 28 | { |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | /** |
| 72 | 72 | * Get column value from instance. |
| 73 | 73 | * |
| 74 | - * @param Collection|Model|Closure $instance |
|
| 74 | + * @param Model $instance |
|
| 75 | 75 | * @param string $name |
| 76 | 76 | * |
| 77 | 77 | * @return mixed |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | - * @return \Illuminate\Foundation\Application|mixed |
|
| 311 | + * @return RepositoryInterface |
|
| 312 | 312 | * @throws \Exception |
| 313 | 313 | */ |
| 314 | 314 | protected function makeRepository() |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
| 292 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
| 293 | 293 | */ |
| 294 | 294 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
| 295 | 295 | { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | } |
| 300 | 300 | |
| 301 | 301 | /** |
| 302 | - * @return \Illuminate\Foundation\Application|mixed |
|
| 302 | + * @return TreeRepositoryInterface |
|
| 303 | 303 | * @throws \Exception |
| 304 | 304 | */ |
| 305 | 305 | protected function makeRepository() |