diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-10-12 17:24:32 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-10-12 17:24:32 +0100 |
| commit | 09482a558a7989d76059e7f9911605cf836b77ba (patch) | |
| tree | 4e3798a457db33169a72edacf920691f972fe487 /app/Services/DatatablesService.php | |
| parent | eaab67460cd3818b1cafc8be2116ca8bb5575706 (diff) | |
| download | webtrees-09482a558a7989d76059e7f9911605cf836b77ba.tar.gz webtrees-09482a558a7989d76059e7f9911605cf836b77ba.tar.bz2 webtrees-09482a558a7989d76059e7f9911605cf836b77ba.zip | |
PHPdoc
Diffstat (limited to 'app/Services/DatatablesService.php')
| -rw-r--r-- | app/Services/DatatablesService.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Services/DatatablesService.php b/app/Services/DatatablesService.php index ad7d30a088..eaabdcb499 100644 --- a/app/Services/DatatablesService.php +++ b/app/Services/DatatablesService.php @@ -39,11 +39,11 @@ class DatatablesService /** * Apply filtering and pagination to a collection, and generate a response suitable for datatables. * - * @param ServerRequestInterface $request Includes the datatables request parameters. - * @param Collection<mixed> $collection All the data. - * @param string[]|int[] $search_columns The names of searchable columns. - * @param string[]|int[] $sort_columns Sort column mapping. - * @param Closure $callback Converts a row-object to an array-of-columns. + * @param ServerRequestInterface $request Includes the datatables request parameters. + * @param Collection<mixed> $collection All the data. + * @param array<string>|array<int> $search_columns The names of searchable columns. + * @param array<string>|array<int> $sort_columns Sort column mapping. + * @param Closure $callback Converts a row-object to an array-of-columns. * * @return ResponseInterface */ @@ -119,8 +119,8 @@ class DatatablesService * * @param ServerRequestInterface $request Includes the datatables request parameters. * @param Builder $query A query to fetch the unfiltered rows and columns. - * @param string[] $search_columns The names of searchable columns. - * @param string[] $sort_columns Sort column mapping. + * @param array<string> $search_columns The names of searchable columns. + * @param array<string> $sort_columns Sort column mapping. * @param Closure $callback Converts a row-object to an array-of-columns. * * @return ResponseInterface |
