mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 07:44:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,11 +20,8 @@ class PageGenerator implements Iterator
|
||||
{
|
||||
protected int $current = 1;
|
||||
|
||||
protected Paginator $paginator;
|
||||
|
||||
public function __construct(Paginator $paginator)
|
||||
public function __construct(protected Paginator $paginator)
|
||||
{
|
||||
$this->paginator = $paginator;
|
||||
}
|
||||
|
||||
public function current(): Page
|
||||
|
Reference in New Issue
Block a user