mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
Fix cs with php-cs-fier version 3.49
This commit is contained in:
@@ -25,7 +25,7 @@ interface PaginatorFactoryInterface
|
||||
* @param string|null $route the specific route to use in pages
|
||||
* @param array|null $routeParameters the specific route parameters to use in pages
|
||||
*/
|
||||
public function create(int $totalItems, string $route = null, array $routeParameters = null): PaginatorInterface;
|
||||
public function create(int $totalItems, ?string $route = null, ?array $routeParameters = null): PaginatorInterface;
|
||||
|
||||
public function getCurrentItemsPerPage(): int;
|
||||
|
||||
|
@@ -23,9 +23,10 @@ class DummyPaginator implements PaginatorFactoryInterface
|
||||
private readonly UrlGeneratorInterface $urlGenerator,
|
||||
private readonly string $route,
|
||||
private readonly array $routeParameters = []
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function create(int $totalItems, string $route = null, array $routeParameters = null): PaginatorInterface
|
||||
public function create(int $totalItems, ?string $route = null, ?array $routeParameters = null): PaginatorInterface
|
||||
{
|
||||
return new Paginator(
|
||||
$totalItems,
|
||||
|
Reference in New Issue
Block a user