in constructor for AccompanyingCourseDocumentRepository.php, do not create a property

This commit is contained in:
Julien Fastré 2024-09-23 14:25:03 +02:00
parent 20e8b03588
commit 5fc5369db6
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -23,7 +23,7 @@ class AccompanyingCourseDocumentRepository implements ObjectRepository, Associat
{ {
private readonly EntityRepository $repository; private readonly EntityRepository $repository;
public function __construct(private readonly EntityManagerInterface $em) public function __construct(EntityManagerInterface $em)
{ {
$this->repository = $em->getRepository(AccompanyingCourseDocument::class); $this->repository = $em->getRepository(AccompanyingCourseDocument::class);
} }