mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 02:49:42 +00:00
Rector corrections
This commit is contained in:
@@ -18,7 +18,7 @@ use Doctrine\Persistence\ObjectRepository;
|
|||||||
|
|
||||||
class InviteRepository implements ObjectRepository
|
class InviteRepository implements ObjectRepository
|
||||||
{
|
{
|
||||||
private EntityRepository $entityRepository;
|
private readonly EntityRepository $entityRepository;
|
||||||
|
|
||||||
public function __construct(EntityManagerInterface $em)
|
public function __construct(EntityManagerInterface $em)
|
||||||
{
|
{
|
||||||
|
@@ -29,16 +29,16 @@ class PaginatorFactory implements PaginatorFactoryInterface
|
|||||||
/**
|
/**
|
||||||
* the request stack.
|
* the request stack.
|
||||||
*/
|
*/
|
||||||
private RequestStack $requestStack,
|
private readonly RequestStack $requestStack,
|
||||||
/**
|
/**
|
||||||
* the router and generator for url.
|
* the router and generator for url.
|
||||||
*/
|
*/
|
||||||
private RouterInterface $router,
|
private readonly RouterInterface $router,
|
||||||
/**
|
/**
|
||||||
* the default item per page. This may be overriden by
|
* the default item per page. This may be overriden by
|
||||||
* the request or inside the paginator.
|
* the request or inside the paginator.
|
||||||
*/
|
*/
|
||||||
private int $itemPerPage = 20,
|
private readonly int $itemPerPage = 20,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user