From d0cc0e775f2d42e9ac68a7474919535ab60c8a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 30 Apr 2022 00:39:17 +0200 Subject: [PATCH] replace fqdn in calendar bundle --- .../ChillCalendarBundle/Controller/CalendarController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php index 68640f3f4..ff34aaf45 100644 --- a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php +++ b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php @@ -81,7 +81,7 @@ class CalendarController extends AbstractController } /** @var Calendar $entity */ - $entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id); + $entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id); if (!$entity) { throw $this->createNotFoundException('Unable to find Calendar entity.'); @@ -139,7 +139,7 @@ class CalendarController extends AbstractController $view = '@ChillCalendar/Calendar/editByUser.html.twig'; } - $entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id); + $entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id); if (!$entity) { throw $this->createNotFoundException('Unable to find Calendar entity.'); @@ -314,7 +314,7 @@ class CalendarController extends AbstractController } /** @var Calendar $entity */ - $entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id); + $entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id); if (null === $entity) { throw $this->createNotFoundException('Unable to find Calendar entity.');