fixes after merge of master into upgrade-sf4

This commit is contained in:
2024-02-12 22:31:16 +01:00
parent 37af488f69
commit f889d67e94
664 changed files with 795 additions and 1980 deletions

View File

@@ -18,9 +18,7 @@ class PageGenerator implements \Iterator
{
protected int $current = 1;
public function __construct(protected Paginator $paginator)
{
}
public function __construct(protected Paginator $paginator) {}
public function current(): Page
{

View File

@@ -57,8 +57,7 @@ class Paginator implements PaginatorInterface
* the key in the GET parameter to indicate the number of item per page.
*/
protected string $itemPerPageKey
) {
}
) {}
public function count(): int
{

View File

@@ -39,8 +39,7 @@ final readonly class PaginatorFactory implements PaginatorFactoryInterface
* the request or inside the paginator.
*/
private int $itemPerPage = 20
) {
}
) {}
/**
* create a paginator instance.