@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace OpenSkill\Datatable\Composers; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use OpenSkill\Datatable\Columns\ColumnConfiguration; |
| 7 | 6 | use OpenSkill\Datatable\Columns\ColumnConfigurationBuilder; |
| 8 | 7 | use OpenSkill\Datatable\Columns\Orderable\Orderable; |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Datatable constructor. |
| 25 | - * @param RequestStack $requestStack The current request |
|
| 26 | 25 | * @param VersionEngine $versionEngine The version engine that determines the correct version |
| 27 | 26 | */ |
| 28 | 27 | public function __construct(VersionEngine $versionEngine) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace OpenSkill\Datatable; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use OpenSkill\Datatable\Composers\ColumnComposer; |
| 7 | 6 | use OpenSkill\Datatable\Providers\Provider; |
| 8 | 7 | use OpenSkill\Datatable\Versions\VersionEngine; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * Get the services provided by the provider. |
| 49 | 49 | * |
| 50 | - * @return array |
|
| 50 | + * @return string[] |
|
| 51 | 51 | */ |
| 52 | 52 | public function provides() |
| 53 | 53 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace OpenSkill\Datatable; |
| 4 | 4 | |
| 5 | -use App; |
|
| 6 | 5 | use Illuminate\Foundation\Application; |
| 7 | 6 | use Illuminate\Support\ServiceProvider; |
| 8 | 7 | use OpenSkill\Datatable\Versions\Datatable19Version; |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * If no columns are given the user must provide them before building the view. |
| 30 | 30 | * @param string|null $view the name of the view that should be rendered |
| 31 | 31 | * @param Version|null $version The version that supports the current request |
| 32 | - * @param array|null $columnConfiguration The columnConfiguration of the the server side if available |
|
| 32 | + * @param ColumnConfiguration[] $columnConfiguration The columnConfiguration of the the server side if available |
|
| 33 | 33 | */ |
| 34 | 34 | public function __construct($view = null, Version $version = null, array $columnConfiguration = []) |
| 35 | 35 | { |