@@ -60,7 +60,7 @@ |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * @param mixed $value |
|
| 63 | + * @param string $value |
|
| 64 | 64 | * |
| 65 | 65 | * @return mixed |
| 66 | 66 | */ |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | - * @param OrderByClauseInterface|bool $orderable |
|
| 168 | + * @param Closure $orderable |
|
| 169 | 169 | * @deprecated |
| 170 | 170 | * @return $this |
| 171 | 171 | */ |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | /** |
| 196 | 196 | * Get column value from instance. |
| 197 | 197 | * |
| 198 | - * @param Collection|Model|Closure $instance |
|
| 198 | + * @param Model $instance |
|
| 199 | 199 | * @param string $name |
| 200 | 200 | * |
| 201 | 201 | * @return mixed |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | /** |
| 77 | 77 | * Load Relations by this->name. |
| 78 | 78 | * @param Builder $query |
| 79 | - * @param $direction |
|
| 79 | + * @param string $direction |
|
| 80 | 80 | */ |
| 81 | 81 | protected function loadRelationOrder(Builder $query, $direction) |
| 82 | 82 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return mixed |
|
| 110 | + * @return Badge|null |
|
| 111 | 111 | */ |
| 112 | 112 | public function getBadge() |
| 113 | 113 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | - * @return string |
|
| 133 | + * @return integer |
|
| 134 | 134 | */ |
| 135 | 135 | public function getMaxDepth() |
| 136 | 136 | { |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | } |
| 361 | 361 | |
| 362 | 362 | /** |
| 363 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
| 363 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
| 364 | 364 | */ |
| 365 | 365 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
| 366 | 366 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | } |
| 369 | 369 | |
| 370 | 370 | /** |
| 371 | - * @return \Illuminate\Foundation\Application|mixed |
|
| 371 | + * @return TreeRepositoryInterface |
|
| 372 | 372 | * @throws \Exception |
| 373 | 373 | */ |
| 374 | 374 | protected function makeRepository() |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * |
| 35 | 35 | * @param \Illuminate\Database\Eloquent\Collection $collection |
| 36 | 36 | * |
| 37 | - * @return mixed |
|
| 37 | + * @return Collection |
|
| 38 | 38 | */ |
| 39 | 39 | public function getTree(\Illuminate\Database\Eloquent\Collection $collection) |
| 40 | 40 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * Get children for simple tree type structure. |
| 88 | 88 | * |
| 89 | 89 | * @param $collection |
| 90 | - * @param $id |
|
| 90 | + * @param string $id |
|
| 91 | 91 | * |
| 92 | 92 | * @return Collection |
| 93 | 93 | */ |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * Get Field name for search url. |
| 44 | - * @return mixed |
|
| 44 | + * @return string |
|
| 45 | 45 | */ |
| 46 | 46 | public function getFieldName() |
| 47 | 47 | { |
@@ -181,7 +181,7 @@ |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @param mixed $defaultValue |
|
| 184 | + * @param string $defaultValue |
|
| 185 | 185 | * |
| 186 | 186 | * @return $this |
| 187 | 187 | */ |