mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 14:54:57 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -39,8 +39,7 @@ final readonly class PaginatorFactory implements PaginatorFactoryInterface
|
||||
* the request or inside the paginator.
|
||||
*/
|
||||
private int $itemPerPage = 20
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* create a paginator instance.
|
||||
|
Reference in New Issue
Block a user