mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 23:04:58 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -20,9 +20,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
|
||||
{
|
||||
|
@@ -58,8 +58,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
|
||||
{
|
||||
|
@@ -42,8 +42,7 @@ class PaginatorFactory
|
||||
* the request or inside the paginator.
|
||||
*/
|
||||
private $itemPerPage = 20
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* create a paginator instance.
|
||||
|
Reference in New Issue
Block a user