@@ -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 | { |
@@ -214,7 +214,7 @@ |
||
214 | 214 | /** |
215 | 215 | * @param $object |
216 | 216 | * |
217 | - * @return mixed |
|
217 | + * @return Model |
|
218 | 218 | */ |
219 | 219 | protected function getElementContainer($object) |
220 | 220 | { |
@@ -209,6 +209,7 @@ |
||
209 | 209 | } |
210 | 210 | |
211 | 211 | /** |
212 | + * @param string $format |
|
212 | 213 | * @return string |
213 | 214 | */ |
214 | 215 | protected function generatePickerFormat($format) |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
166 | - * @param mixed $distinct |
|
166 | + * @param string|null $distinct |
|
167 | 167 | * |
168 | 168 | * @return $this |
169 | 169 | */ |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | /** |
207 | 207 | * Apply offset and limit to the query. |
208 | 208 | * |
209 | - * @param $query |
|
209 | + * @param Builder $query |
|
210 | 210 | */ |
211 | 211 | protected function applyOffset($query) |
212 | 212 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Convert collection to the datatables structure. |
269 | 269 | * |
270 | - * @param array|Collection $collection |
|
270 | + * @param Collection $collection |
|
271 | 271 | * @param int $totalCount |
272 | 272 | * @param int $filteredCount |
273 | 273 | * |
@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @return int |
|
90 | + * @return string |
|
91 | 91 | */ |
92 | 92 | public function getWidth() |
93 | 93 | { |
@@ -95,7 +95,7 @@ |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param $widget |
|
98 | + * @param string $widget |
|
99 | 99 | * |
100 | 100 | * @return \Closure |
101 | 101 | */ |
@@ -65,7 +65,7 @@ |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @return TabInterface[]|DisplayTabsCollection |
|
68 | + * @return \SleepingOwl\Admin\Form\FormElementsCollection |
|
69 | 69 | */ |
70 | 70 | public function getTabs() |
71 | 71 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return $this|Custom|mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function render() |
92 | 92 | { |