@@ -15,6 +15,9 @@ |
||
15 | 15 | |
16 | 16 | protected $format = 'YYYY-MM-DD HH:mm:ss'; |
17 | 17 | |
18 | + /** |
|
19 | + * @param \Encore\Admin\Grid\Filter\AbstractFilter $filter |
|
20 | + */ |
|
18 | 21 | public function __construct($filter, array $options = []) |
19 | 22 | { |
20 | 23 | $this->filter = $filter; |
@@ -183,7 +183,7 @@ |
||
183 | 183 | * |
184 | 184 | * @param string $target |
185 | 185 | * |
186 | - * @return mixed |
|
186 | + * @return string |
|
187 | 187 | */ |
188 | 188 | protected function getClass($target) |
189 | 189 | { |
@@ -229,7 +229,7 @@ |
||
229 | 229 | /** |
230 | 230 | * Get options for Select field in form. |
231 | 231 | * |
232 | - * @return \Illuminate\Support\Collection |
|
232 | + * @return callable |
|
233 | 233 | */ |
234 | 234 | public static function selectOptions() |
235 | 235 | { |
@@ -282,7 +282,6 @@ |
||
282 | 282 | /** |
283 | 283 | * Return all items of the tree. |
284 | 284 | * |
285 | - * @param array $items |
|
286 | 285 | */ |
287 | 286 | public function getItems() |
288 | 287 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | /** |
27 | 27 | * Create a new Tools instance. |
28 | 28 | * |
29 | - * @param Builder $builder |
|
30 | 29 | */ |
31 | 30 | public function __construct(Tree $tree) |
32 | 31 | { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @param int $id |
35 | 35 | * |
36 | - * @return \Illuminate\Http\Response |
|
36 | + * @return \Illuminate\Http\JsonResponse |
|
37 | 37 | */ |
38 | 38 | public function destroy($id) |
39 | 39 | { |