@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -283,7 +283,7 @@ |
||
283 | 283 | } |
284 | 284 | |
285 | 285 | /** |
286 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
286 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
287 | 287 | */ |
288 | 288 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
289 | 289 | { |
@@ -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 | { |