@@ -31,7 +31,7 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * @return bool |
|
34 | + * @return string |
|
35 | 35 | */ |
36 | 36 | public function isAscending() |
37 | 37 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use OpenSkill\Datatable\Providers\Provider; |
8 | 8 | use OpenSkill\Datatable\Versions\VersionEngine; |
9 | 9 | use OpenSkill\Datatable\Views\DatatableView; |
10 | -use Symfony\Component\VarDumper\Cloner\Data; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * Class Datatable |
@@ -2,11 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace OpenSkill\Datatable\Queries\Parser; |
4 | 4 | |
5 | -use Illuminate\Http\JsonResponse; |
|
6 | 5 | use Illuminate\Http\Request; |
7 | 6 | use OpenSkill\Datatable\Columns\ColumnConfiguration; |
8 | 7 | use OpenSkill\Datatable\Queries\QueryConfiguration; |
9 | -use Symfony\Component\HttpFoundation\Response; |
|
10 | 8 | |
11 | 9 | /** |
12 | 10 | * Interface DTQueryParser |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * @param ResponseData $data The processed data. |
16 | 16 | * @param QueryConfiguration $queryConfiguration the query configuration for the current request. |
17 | 17 | * @param array $columnConfiguration the column configurations for the current data table. |
18 | - * @return Response the response that should be returned to the client. |
|
18 | + * @return JsonResponse the response that should be returned to the client. |
|
19 | 19 | */ |
20 | 20 | public function createResponse(ResponseData $data, QueryConfiguration $queryConfiguration, array $columnConfiguration) |
21 | 21 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * DatatableView constructor, will take a view as a string if a custom one should be used. will also take the |
23 | 23 | * column configurations to provide out of the box headers for the view. |
24 | 24 | * If no columns are given the user must provide them before building the view. |
25 | - * @param array $columnConfiguration The columnConfiguration of the the server side if available |
|
25 | + * @param string|null $columnConfiguration The columnConfiguration of the the server side if available |
|
26 | 26 | * @param Version $version The version that supports the current request |
27 | 27 | * @param string $view the name of the view that should be rendered |
28 | 28 | */ |