@@ -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 | { |
@@ -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 | */ |
@@ -55,6 +55,6 @@ |
||
55 | 55 | * @return DatatableView the view to work with |
56 | 56 | */ |
57 | 57 | public function view($view = null) { |
58 | - return new DatatableView($view, $this->versionEngine->getVersion()); |
|
58 | + return new DatatableView($view, $this->versionEngine->getVersion()); |
|
59 | 59 | } |
60 | 60 | } |
61 | 61 | \ No newline at end of file |