diff options
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Authentication/RememberMe/PersistentToken.php | 2 | ||||
-rw-r--r-- | Core/Authentication/RememberMe/TokenProviderInterface.php | 2 | ||||
-rw-r--r-- | Core/Authentication/Token/AnonymousToken.php | 2 | ||||
-rw-r--r-- | Core/Authentication/Token/UsernamePasswordToken.php | 2 | ||||
-rw-r--r-- | Core/User/UserInterface.php | 2 |
5 files changed, 9 insertions, 1 deletions
diff --git a/Core/Authentication/RememberMe/PersistentToken.php b/Core/Authentication/RememberMe/PersistentToken.php index f3f6858..8919be9 100644 --- a/Core/Authentication/RememberMe/PersistentToken.php +++ b/Core/Authentication/RememberMe/PersistentToken.php @@ -100,7 +100,7 @@ final class PersistentToken implements PersistentTokenInterface /** * Returns the time the token was last used * - * @return DateTime + * @return \DateTime */ public function getLastUsed() { diff --git a/Core/Authentication/RememberMe/TokenProviderInterface.php b/Core/Authentication/RememberMe/TokenProviderInterface.php index 44bf4b0..93ed8d3 100644 --- a/Core/Authentication/RememberMe/TokenProviderInterface.php +++ b/Core/Authentication/RememberMe/TokenProviderInterface.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Security\Core\Authentication\RememberMe; +use Symfony\Component\Security\Core\Exception\TokenNotFoundException; + /** * Interface for TokenProviders * diff --git a/Core/Authentication/Token/AnonymousToken.php b/Core/Authentication/Token/AnonymousToken.php index 9b0a084..cabb6d5 100644 --- a/Core/Authentication/Token/AnonymousToken.php +++ b/Core/Authentication/Token/AnonymousToken.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Security\Core\Authentication\Token; +use Symfony\Component\Security\Core\Role\RoleInterface; + /** * AnonymousToken represents an anonymous token. * diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php index d6e3998..3854242 100644 --- a/Core/Authentication/Token/UsernamePasswordToken.php +++ b/Core/Authentication/Token/UsernamePasswordToken.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Security\Core\Authentication\Token; +use Symfony\Component\Security\Core\Role\RoleInterface; + /** * UsernamePasswordToken implements a username and password token. * diff --git a/Core/User/UserInterface.php b/Core/User/UserInterface.php index 6e9b0f1..1b52dab 100644 --- a/Core/User/UserInterface.php +++ b/Core/User/UserInterface.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Security\Core\User; +use Symfony\Component\Security\Core\Role\Role; + /** * Represents the interface that all user classes must implement. * |