Skip to content

Commit 65ff9cb

Browse files
committed
Remove unused parameter
1 parent d863b68 commit 65ff9cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controller/SecurityController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpFoundation\Response;
1717
use Symfony\Component\Routing\Annotation\Route;
18-
use Symfony\Component\Security\Core\Security;
1918
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
2019
use Symfony\Component\Security\Http\Util\TargetPathTrait;
2120

@@ -31,7 +30,7 @@ class SecurityController extends AbstractController
3130
use TargetPathTrait;
3231

3332
#[Route('/login', name: 'security_login')]
34-
public function login(Request $request, Security $security, AuthenticationUtils $helper): Response
33+
public function login(Request $request, AuthenticationUtils $helper): Response
3534
{
3635
// if user is already logged in, don't display the login page again
3736
if ($this->getUser()) {

0 commit comments

Comments
 (0)