Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eafff5 commit 9f1ebd7Copy full SHA for 9f1ebd7
src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php
@@ -26,6 +26,7 @@
26
use Symfony\Component\HttpKernel\HttpKernelInterface;
27
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
28
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
29
+use Symfony\Component\Security\Core\User\UserInterface;
30
use Symfony\Component\Security\Csrf\CsrfToken;
31
32
/**
@@ -431,7 +432,7 @@ protected function getDoctrine()
431
432
433
* Get a user from the Security Token Storage.
434
*
- * @return object|null
435
+ * @return UserInterface|object|null
436
437
* @throws \LogicException If SecurityBundle is not available
438
0 commit comments