mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -21,12 +21,9 @@ final class DocGeneratorTemplateRepository implements ObjectRepository
|
||||
{
|
||||
private EntityRepository $repository;
|
||||
|
||||
private RequestStack $requestStack;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager, RequestStack $requestStack)
|
||||
public function __construct(EntityManagerInterface $entityManager, private RequestStack $requestStack)
|
||||
{
|
||||
$this->repository = $entityManager->getRepository(DocGeneratorTemplate::class);
|
||||
$this->requestStack = $requestStack;
|
||||
}
|
||||
|
||||
public function countByEntity(string $entity): int
|
||||
|
Reference in New Issue
Block a user