php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

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

View File

@@ -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
*/

View File

@@ -42,7 +42,8 @@ class PaginatorFactory
* the request or inside the paginator.
*/
private $itemPerPage = 20
) {}
) {
}
/**
* create a paginator instance.