PHPCBF
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user