minor fixes

This commit is contained in:
Julien Fastré 2021-11-12 12:05:16 +00:00
parent 28afe5228a
commit 22bdf35eb0
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class AccompanyingCourseWorkController extends AbstractController
SerializerInterface $serializer,
AccompanyingPeriodWorkRepository $workRepository,
PaginatorFactory $paginator,
LoggerInterface $logger
LoggerInterface $chillLogger
) {
$this->trans = $trans;
$this->serializer = $serializer;

View File

@ -167,7 +167,7 @@ use Symfony\Component\Validator\Constraints as Assert;
* @ORM\OneToMany(
* targetEntity=AccompanyingPeriodWorkEvaluation::class,
* mappedBy="accompanyingPeriodWork",
* cascade={"remove"},
* cascade={"remove", "persist"},
* orphanRemoval=true
* )
* @Serializer\Groups({"read"})