Apply rector rules: add annotation for doctrine mapping

This commit is contained in:
2024-04-05 00:01:30 +02:00
parent 579bd829f8
commit 72016e1a21
124 changed files with 1724 additions and 3770 deletions

View File

@@ -35,12 +35,10 @@ class LoginController extends AbstractController
* Show a login form.
*
* @return Response
* @return Response
*
* @\Symfony\Component\Routing\Annotation\Route(path="/login", name="login")
*/
#[\Symfony\Component\Routing\Annotation\Route(path: '/login', name: 'login')]
public function loginAction(Request $request)
public function loginAction(Request $request): Response
{
return $this->render('@ChillMain/Login/login.html.twig', [
'last_username' => $this->helper->getLastUsername(),