Fix cs with php-cs-fier version 3.49

This commit is contained in:
2024-02-08 21:12:27 +01:00
parent 8e65ad9476
commit 2ed42e1a2c
11 changed files with 24 additions and 17 deletions

View File

@@ -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,