Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent 053b92b77c
commit 17db59d221
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -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');
}

View File

@@ -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(),
]);