php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -59,7 +59,8 @@ class CalendarController extends AbstractController
private readonly AccompanyingPeriodRepository $accompanyingPeriodRepository,
private readonly UserRepositoryInterface $userRepository,
private readonly TranslatorInterface $translator
) {}
) {
}
/**
* Delete a calendar item.
@@ -406,7 +407,7 @@ class CalendarController extends AbstractController
}
/** @var Calendar $entity */
$entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id);
$entity = $em->getRepository(Calendar::class)->find($id);
if (null === $entity) {
throw $this->createNotFoundException('Unable to find Calendar entity.');