From b048a34233c22ab6d1460e8b23ebff5839fedcab Mon Sep 17 00:00:00 2001 From: Xbird Date: Thu, 15 Sep 2022 17:34:59 +0200 Subject: [PATCH] PHPCBF --- src/Controller/AdminController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Controller/AdminController.php b/src/Controller/AdminController.php index c4db8c9..f89a57f 100644 --- a/src/Controller/AdminController.php +++ b/src/Controller/AdminController.php @@ -677,7 +677,7 @@ class AdminController extends AbstractController return $response; } - + #[Route('/watchdog/{type?*}/{id?*}/{action?*}', name: 'watchdog')] public function watchdog( @@ -700,7 +700,7 @@ class AdminController extends AbstractController $qbButtons->select('DISTINCT l.objectClass') ->from('Gedmo\Loggable\Entity\LogEntry', 'l') ->orderBy('l.objectClass', 'ASC'); - + $qbButtonsAction->select('DISTINCT l.action') ->from('Gedmo\Loggable\Entity\LogEntry', 'l') ->orderBy('l.action', 'ASC'); @@ -709,7 +709,7 @@ class AdminController extends AbstractController if (null != $type && '*' != $type) { $qb->where('l.objectClass = :type'); - $qb->setParameter('type', 'App\Entity\\' . $type); + $qb->setParameter('type', 'App\Entity\\' . $type); } if (null != $action && '*' != $action) { @@ -732,10 +732,10 @@ class AdminController extends AbstractController 'type' => $type, 'action' => $action, 'id' => $id, - 'buttonsType' => $qbButtons->getQuery()->getResult(), + 'buttonsType' => $qbButtons->getQuery()->getResult(), 'buttonsAction' => $qbButtonsAction->getQuery()->getResult(), 'pagination' => $pagination, - + ]); }