PHPCBF
This commit is contained in:
@@ -681,7 +681,7 @@ class AdminController extends AbstractController
|
|||||||
#[Route('/watchdog', name: 'watchdog')]
|
#[Route('/watchdog', name: 'watchdog')]
|
||||||
#[Route('/watchdog/view/{id}', name: 'watchdog_view')]
|
#[Route('/watchdog/view/{id}', name: 'watchdog_view')]
|
||||||
#[Route('/watchdog/{type}', name: 'watchdog_type')]
|
#[Route('/watchdog/{type}', name: 'watchdog_type')]
|
||||||
#[Route('/watchdog/{type}/{action}', name: 'watchdog_type_action')]
|
#[Route('/watchdog/{type}/{action}', name: 'watchdog_type_action')]
|
||||||
public function watchdog(
|
public function watchdog(
|
||||||
PaginatorInterface $paginator,
|
PaginatorInterface $paginator,
|
||||||
Request $Request,
|
Request $Request,
|
||||||
@@ -706,7 +706,7 @@ class AdminController extends AbstractController
|
|||||||
->from('Gedmo\Loggable\Entity\LogEntry', 'l')
|
->from('Gedmo\Loggable\Entity\LogEntry', 'l')
|
||||||
->orderBy('l.loggedAt', 'DESC');
|
->orderBy('l.loggedAt', 'DESC');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (null != $type) {
|
if (null != $type) {
|
||||||
@@ -723,7 +723,7 @@ class AdminController extends AbstractController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(null != $id){
|
if (null != $id) {
|
||||||
$qb->where('l.objectId = :id');
|
$qb->where('l.objectId = :id');
|
||||||
$qb->setParameter('id', $id);
|
$qb->setParameter('id', $id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user