Rector corrections

This commit is contained in:
2025-09-30 16:23:27 +02:00
parent f93c7e014f
commit 74c9eb5585
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ use Doctrine\Persistence\ObjectRepository;
class InviteRepository implements ObjectRepository
{
private EntityRepository $entityRepository;
private readonly EntityRepository $entityRepository;
public function __construct(EntityManagerInterface $em)
{

View File

@@ -29,16 +29,16 @@ class PaginatorFactory implements PaginatorFactoryInterface
/**
* the request stack.
*/
private RequestStack $requestStack,
private readonly RequestStack $requestStack,
/**
* the router and generator for url.
*/
private RouterInterface $router,
private readonly RouterInterface $router,
/**
* the default item per page. This may be overriden by
* the request or inside the paginator.
*/
private int $itemPerPage = 20,
private readonly int $itemPerPage = 20,
) {}
/**