Skip to content

Commit 7f65ebb

Browse files
authored
Merge pull request #2581 from fcaraballo/adding-to-namespace
Adding Session namespace into uses
2 parents 7084d48 + faaa0e4 commit 7f65ebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Controller/SecurityController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpFoundation\Response;
17+
use Symfony\Component\HttpFoundation\Session\Session;
1718
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1819
use Symfony\Component\Security\Core\Security;
1920

@@ -26,7 +27,7 @@ class SecurityController extends Controller
2627
*/
2728
public function loginAction(Request $request)
2829
{
29-
/** @var $session \Symfony\Component\HttpFoundation\Session\Session */
30+
/** @var $session Session */
3031
$session = $request->getSession();
3132

3233
$authErrorKey = Security::AUTHENTICATION_ERROR;

0 commit comments

Comments
 (0)