@@ -12,7 +12,7 @@ |
||
12 | 12 | protected $viewPath; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param string|View $view |
|
15 | + * @param string $view |
|
16 | 16 | * |
17 | 17 | * @return $this |
18 | 18 | */ |
@@ -112,7 +112,7 @@ |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param string|Model $class |
|
115 | + * @param string|null $class |
|
116 | 116 | * @return ModelConfigurationInterface |
117 | 117 | */ |
118 | 118 | public function getModel($class) |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * FormDefault constructor. |
73 | 73 | * |
74 | - * @param array $elements |
|
74 | + * @param Element\Checkbox[] $elements |
|
75 | 75 | */ |
76 | 76 | public function __construct(array $elements = []) |
77 | 77 | { |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | * @deprecated 4.5.0 |
191 | 191 | * @see getElements() |
192 | 192 | * |
193 | - * @return Collection[] |
|
193 | + * @return FormElementsCollection |
|
194 | 194 | */ |
195 | 195 | public function getItems() |
196 | 196 | { |
@@ -122,7 +122,7 @@ |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * @param ControlButtonInterface $button |
|
125 | + * @param ControlButtonInterface $buttons |
|
126 | 126 | * |
127 | 127 | * @return $this |
128 | 128 | */ |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @param mixed $distinct |
|
121 | + * @param string|null $distinct |
|
122 | 122 | * |
123 | 123 | * @return $this |
124 | 124 | */ |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Apply offset and limit to the query. |
164 | 164 | * |
165 | - * @param $query |
|
165 | + * @param Builder $query |
|
166 | 166 | * @param \Illuminate\Http\Request $request |
167 | 167 | */ |
168 | 168 | protected function applyOffset($query, \Illuminate\Http\Request $request) |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * Convert collection to the datatables structure. |
205 | 205 | * |
206 | 206 | * @param \Illuminate\Http\Request $request |
207 | - * @param array|Collection $collection |
|
207 | + * @param Collection $collection |
|
208 | 208 | * @param int $totalCount |
209 | 209 | * @param int $filteredCount |
210 | 210 | * |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * @param ActionInterface $actions |
47 | 47 | * |
48 | - * @return $this |
|
48 | + * @return \SleepingOwl\Admin\Contracts\Display\DisplayInterface |
|
49 | 49 | */ |
50 | 50 | public function set($actions) |
51 | 51 | { |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * @param ModelConfigurationInterface $model |
312 | 312 | * @param Request $request |
313 | 313 | * |
314 | - * @return bool |
|
314 | + * @return boolean|null |
|
315 | 315 | * |
316 | 316 | * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
317 | 317 | */ |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | /** |
535 | 535 | * @param Request $request |
536 | 536 | * |
537 | - * @return null|string |
|
537 | + * @return string |
|
538 | 538 | */ |
539 | 539 | protected function getBackUrl(Request $request) |
540 | 540 | { |
@@ -66,9 +66,9 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param $root |
68 | 68 | * @param $parentId |
69 | - * @param $left |
|
69 | + * @param integer $left |
|
70 | 70 | * |
71 | - * @return mixed |
|
71 | + * @return integer |
|
72 | 72 | */ |
73 | 73 | protected function recursiveReorder($root, $parentId, $left) |
74 | 74 | { |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @param $id |
90 | 90 | * @param $parentId |
91 | - * @param $left |
|
92 | - * @param $right |
|
91 | + * @param integer $left |
|
92 | + * @param integer $right |
|
93 | 93 | */ |
94 | 94 | protected function move($id, $parentId, $left, $right) |
95 | 95 | { |
@@ -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 | */ |