@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @return array |
|
| 38 | + * @return Collection |
|
| 39 | 39 | */ |
| 40 | 40 | public function getColumns() |
| 41 | 41 | { |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | - * @return null|string |
|
| 311 | + * @return string |
|
| 312 | 312 | */ |
| 313 | 313 | public function getForeignKey() |
| 314 | 314 | { |
@@ -207,7 +207,7 @@ |
||
| 207 | 207 | * @deprecated 4.5.0 |
| 208 | 208 | * @see getElements() |
| 209 | 209 | * |
| 210 | - * @return Collection[] |
|
| 210 | + * @return Collection |
|
| 211 | 211 | */ |
| 212 | 212 | public function getItems() |
| 213 | 213 | { |
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | /** |
| 228 | 228 | * @param ModelConfigurationInterface $model |
| 229 | 229 | * |
| 230 | - * @return bool |
|
| 230 | + * @return boolean|null |
|
| 231 | 231 | */ |
| 232 | 232 | public function inlineEdit(ModelConfigurationInterface $model) |
| 233 | 233 | { |
@@ -501,7 +501,7 @@ |
||
| 501 | 501 | } |
| 502 | 502 | |
| 503 | 503 | /** |
| 504 | - * @param $id |
|
| 504 | + * @param integer $id |
|
| 505 | 505 | * |
| 506 | 506 | * @return mixed|void |
| 507 | 507 | */ |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | /** |
| 282 | - * @return null|string |
|
| 282 | + * @return boolean |
|
| 283 | 283 | */ |
| 284 | 284 | public function hasCustomControllerClass() |
| 285 | 285 | { |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | } |
| 330 | 330 | |
| 331 | 331 | /** |
| 332 | - * @param string|int $id |
|
| 332 | + * @param integer $id |
|
| 333 | 333 | * |
| 334 | 334 | * @return string |
| 335 | 335 | */ |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @param $id |
|
| 71 | + * @param integer $id |
|
| 72 | 72 | * |
| 73 | 73 | * @return mixed|void |
| 74 | 74 | */ |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * @return \string[] |
|
| 63 | + * @return string[] |
|
| 64 | 64 | */ |
| 65 | 65 | public function getWith() |
| 66 | 66 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * Get base query. |
| 84 | - * @return mixed |
|
| 84 | + * @return \Illuminate\Database\Eloquent\Builder |
|
| 85 | 85 | */ |
| 86 | 86 | public function getQuery() |
| 87 | 87 | { |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | * |
| 203 | 203 | * @param $id |
| 204 | 204 | * @param $parentId |
| 205 | - * @param $left |
|
| 205 | + * @param integer $left |
|
| 206 | 206 | * @param $right |
| 207 | 207 | */ |
| 208 | 208 | public function move($id, $parentId, $left, $right) |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | * Call several methods and get first result. |
| 292 | 292 | * |
| 293 | 293 | * @param $instance |
| 294 | - * @param $methods |
|
| 294 | + * @param string[] $methods |
|
| 295 | 295 | * |
| 296 | 296 | * @return mixed |
| 297 | 297 | * @throws Exception |
@@ -311,9 +311,9 @@ discard block |
||
| 311 | 311 | * |
| 312 | 312 | * @param $root |
| 313 | 313 | * @param $parentId |
| 314 | - * @param $left |
|
| 314 | + * @param integer $left |
|
| 315 | 315 | * |
| 316 | - * @return mixed |
|
| 316 | + * @return integer |
|
| 317 | 317 | */ |
| 318 | 318 | protected function recursiveReorder($root, $parentId, $left) |
| 319 | 319 | { |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | * Recursive reoder simple tree type. |
| 333 | 333 | * |
| 334 | 334 | * @param $data |
| 335 | - * @param $parentId |
|
| 335 | + * @param string|null $parentId |
|
| 336 | 336 | */ |
| 337 | 337 | protected function recursiveReorderSimple($data, $parentId) |
| 338 | 338 | { |
@@ -354,9 +354,9 @@ discard block |
||
| 354 | 354 | * Get children for simple tree type structure. |
| 355 | 355 | * |
| 356 | 356 | * @param $collection |
| 357 | - * @param $id |
|
| 357 | + * @param string|null $id |
|
| 358 | 358 | * |
| 359 | - * @return static |
|
| 359 | + * @return Collection |
|
| 360 | 360 | */ |
| 361 | 361 | protected function getChildren($collection, $id) |
| 362 | 362 | { |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | |
| 377 | 377 | /** |
| 378 | 378 | * Create simple tree type structure. |
| 379 | - * @return static |
|
| 379 | + * @return Collection |
|
| 380 | 380 | */ |
| 381 | 381 | protected function createSimpleTree() |
| 382 | 382 | { |