mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -59,7 +59,7 @@ class RoleController extends AbstractController
|
||||
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
$entity = $em->getRepository(Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -81,7 +81,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
$entity = $em->getRepository(Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -106,7 +106,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entities = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->findAll();
|
||||
$entities = $em->getRepository(Role::class)->findAll();
|
||||
|
||||
return $this->render('@ChillEvent/Role/index.html.twig', [
|
||||
'entities' => $entities,
|
||||
@@ -138,7 +138,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
$entity = $em->getRepository(Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
@@ -161,7 +161,7 @@ class RoleController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = $em->getRepository(\Chill\EventBundle\Entity\Role::class)->find($id);
|
||||
$entity = $em->getRepository(Role::class)->find($id);
|
||||
|
||||
if (!$entity) {
|
||||
throw $this->createNotFoundException('Unable to find Role entity.');
|
||||
|
Reference in New Issue
Block a user