@@ -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 | { |
@@ -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() |
@@ -290,7 +290,7 @@ |
||
290 | 290 | } |
291 | 291 | |
292 | 292 | /** |
293 | - * @return null|string |
|
293 | + * @return boolean |
|
294 | 294 | */ |
295 | 295 | public function hasCustomControllerClass() |
296 | 296 | { |
@@ -83,7 +83,7 @@ |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return Closure |
|
86 | + * @return \Closure |
|
87 | 87 | */ |
88 | 88 | public function getAccessLogic() |
89 | 89 | { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * |
204 | 204 | * @param $id |
205 | 205 | * @param $parentId |
206 | - * @param $left |
|
206 | + * @param integer $left |
|
207 | 207 | * @param $right |
208 | 208 | */ |
209 | 209 | protected function move($id, $parentId, $left, $right) |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | * Call several methods and get first result. |
301 | 301 | * |
302 | 302 | * @param $instance |
303 | - * @param $methods |
|
303 | + * @param string[] $methods |
|
304 | 304 | * |
305 | 305 | * @return mixed |
306 | 306 | * @throws Exception |
@@ -320,9 +320,9 @@ discard block |
||
320 | 320 | * |
321 | 321 | * @param $root |
322 | 322 | * @param $parentId |
323 | - * @param $left |
|
323 | + * @param integer $left |
|
324 | 324 | * |
325 | - * @return mixed |
|
325 | + * @return integer |
|
326 | 326 | */ |
327 | 327 | protected function recursiveReorder($root, $parentId, $left) |
328 | 328 | { |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | * Recursive reoder simple tree type. |
342 | 342 | * |
343 | 343 | * @param $data |
344 | - * @param $parentId |
|
344 | + * @param string|null $parentId |
|
345 | 345 | */ |
346 | 346 | protected function recursiveReorderSimple(array $data, $parentId) |
347 | 347 | { |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | * Get children for simple tree type structure. |
364 | 364 | * |
365 | 365 | * @param $collection |
366 | - * @param $id |
|
366 | + * @param string|null $id |
|
367 | 367 | * |
368 | 368 | * @return Collection |
369 | 369 | */ |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | |
386 | 386 | /** |
387 | 387 | * Create simple tree type structure. |
388 | - * @return static |
|
388 | + * @return Collection |
|
389 | 389 | */ |
390 | 390 | protected function createSimpleTree() |
391 | 391 | { |