Skip to content

Commit

Permalink
[FrameworkBundle] Use UserInterface to @return in getUser method
Browse files Browse the repository at this point in the history
  • Loading branch information
Arman-Hosseini authored and nicolas-grekas committed Dec 10, 2019
1 parent 9eafff5 commit 9f1ebd7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Csrf\CsrfToken;

/**
Expand Down Expand Up @@ -431,7 +432,7 @@ protected function getDoctrine()
/**
* Get a user from the Security Token Storage.
*
* @return object|null
* @return UserInterface|object|null
*
* @throws \LogicException If SecurityBundle is not available
*
Expand Down

0 comments on commit 9f1ebd7

Please sign in to comment.