mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user