mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 23:04:58 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -18,7 +18,9 @@ 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,7 +57,8 @@ 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
|
||||
{
|
||||
@@ -137,7 +138,7 @@ class Paginator implements PaginatorInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Chill\MainBundle\Pagination\Page
|
||||
* @return Page
|
||||
*
|
||||
* @throws \RuntimeException if the next page does not exists
|
||||
*/
|
||||
|
@@ -42,7 +42,8 @@ class PaginatorFactory
|
||||
* the request or inside the paginator.
|
||||
*/
|
||||
private $itemPerPage = 20
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* create a paginator instance.
|
||||
|
Reference in New Issue
Block a user