replace fqdn in event bundle

This commit is contained in:
2022-04-30 00:42:03 +02:00
parent d0cc0e775f
commit 6da19b0135
7 changed files with 29 additions and 29 deletions

View File

@@ -57,7 +57,7 @@ class StatusController extends AbstractController
if ($form->isValid()) {
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('ChillEventBundle:Status')->find($id);
$entity = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->find($id);
if (!$entity) {
throw $this->createNotFoundException('Unable to find Status entity.');
@@ -79,7 +79,7 @@ class StatusController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('ChillEventBundle:Status')->find($id);
$entity = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->find($id);
if (!$entity) {
throw $this->createNotFoundException('Unable to find Status entity.');
@@ -102,7 +102,7 @@ class StatusController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$entities = $em->getRepository('ChillEventBundle:Status')->findAll();
$entities = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->findAll();
return $this->render('ChillEventBundle:Status:index.html.twig', [
'entities' => $entities,
@@ -132,7 +132,7 @@ class StatusController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('ChillEventBundle:Status')->find($id);
$entity = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->find($id);
if (!$entity) {
throw $this->createNotFoundException('Unable to find Status entity.');
@@ -155,7 +155,7 @@ class StatusController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('ChillEventBundle:Status')->find($id);
$entity = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->find($id);
if (!$entity) {
throw $this->createNotFoundException('Unable to find Status entity.');