mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 04:49:44 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -20,7 +20,7 @@ class AdminController extends AbstractController
|
||||
* Calendar admin.
|
||||
*/
|
||||
#[Route(path: '/{_locale}/admin/calendar', name: 'chill_calendar_admin_index')]
|
||||
public function indexAdminAction()
|
||||
public function indexAdminAction(): \Symfony\Component\HttpFoundation\Response
|
||||
{
|
||||
return $this->render('@ChillCalendar/Admin/index.html.twig');
|
||||
}
|
||||
|
@@ -89,7 +89,7 @@ class CalendarController extends AbstractController
|
||||
|
||||
if ($form->isValid()) {
|
||||
$this->logger->notice('A calendar event has been removed', [
|
||||
'by_user' => $this->getUser()->getUsername(),
|
||||
'by_user' => $this->getUser()->getUserIdentifier(),
|
||||
'calendar_id' => $entity->getId(),
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user