diff options
Diffstat (limited to 'Core/User')
-rw-r--r-- | Core/User/AdvancedUserInterface.php | 8 | ||||
-rw-r--r-- | Core/User/ChainUserProvider.php | 6 | ||||
-rw-r--r-- | Core/User/EquatableInterface.php | 2 | ||||
-rw-r--r-- | Core/User/InMemoryUserProvider.php | 4 | ||||
-rw-r--r-- | Core/User/User.php | 1 | ||||
-rw-r--r-- | Core/User/UserProviderInterface.php | 2 |
6 files changed, 11 insertions, 12 deletions
diff --git a/Core/User/AdvancedUserInterface.php b/Core/User/AdvancedUserInterface.php index 5b3a51a..19775c0 100644 --- a/Core/User/AdvancedUserInterface.php +++ b/Core/User/AdvancedUserInterface.php @@ -43,7 +43,7 @@ interface AdvancedUserInterface extends UserInterface * Internally, if this method returns false, the authentication system * will throw an AccountExpiredException and prevent login. * - * @return Boolean true if the user's account is non expired, false otherwise + * @return bool true if the user's account is non expired, false otherwise * * @see AccountExpiredException */ @@ -55,7 +55,7 @@ interface AdvancedUserInterface extends UserInterface * Internally, if this method returns false, the authentication system * will throw a LockedException and prevent login. * - * @return Boolean true if the user is not locked, false otherwise + * @return bool true if the user is not locked, false otherwise * * @see LockedException */ @@ -67,7 +67,7 @@ interface AdvancedUserInterface extends UserInterface * Internally, if this method returns false, the authentication system * will throw a CredentialsExpiredException and prevent login. * - * @return Boolean true if the user's credentials are non expired, false otherwise + * @return bool true if the user's credentials are non expired, false otherwise * * @see CredentialsExpiredException */ @@ -79,7 +79,7 @@ interface AdvancedUserInterface extends UserInterface * Internally, if this method returns false, the authentication system * will throw a DisabledException and prevent login. * - * @return Boolean true if the user is enabled, false otherwise + * @return bool true if the user is enabled, false otherwise * * @see DisabledException */ diff --git a/Core/User/ChainUserProvider.php b/Core/User/ChainUserProvider.php index fc72074..6e14a4f 100644 --- a/Core/User/ChainUserProvider.php +++ b/Core/User/ChainUserProvider.php @@ -40,7 +40,7 @@ class ChainUserProvider implements UserProviderInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public function loadUserByUsername($username) { @@ -58,7 +58,7 @@ class ChainUserProvider implements UserProviderInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public function refreshUser(UserInterface $user) { @@ -85,7 +85,7 @@ class ChainUserProvider implements UserProviderInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public function supportsClass($class) { diff --git a/Core/User/EquatableInterface.php b/Core/User/EquatableInterface.php index 645b77c..c6082ce 100644 --- a/Core/User/EquatableInterface.php +++ b/Core/User/EquatableInterface.php @@ -31,7 +31,7 @@ interface EquatableInterface * * @param UserInterface $user * - * @return Boolean + * @return bool */ public function isEqualTo(UserInterface $user); } diff --git a/Core/User/InMemoryUserProvider.php b/Core/User/InMemoryUserProvider.php index 074c21e..624eb3d 100644 --- a/Core/User/InMemoryUserProvider.php +++ b/Core/User/InMemoryUserProvider.php @@ -81,7 +81,7 @@ class InMemoryUserProvider implements UserProviderInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public function refreshUser(UserInterface $user) { @@ -93,7 +93,7 @@ class InMemoryUserProvider implements UserProviderInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public function supportsClass($class) { diff --git a/Core/User/User.php b/Core/User/User.php index b378e1b..ea2c6a4 100644 --- a/Core/User/User.php +++ b/Core/User/User.php @@ -64,7 +64,6 @@ final class User implements AdvancedUserInterface */ public function getSalt() { - return null; } /** diff --git a/Core/User/UserProviderInterface.php b/Core/User/UserProviderInterface.php index 6669c43..6b7895c 100644 --- a/Core/User/UserProviderInterface.php +++ b/Core/User/UserProviderInterface.php @@ -70,7 +70,7 @@ interface UserProviderInterface * * @param string $class * - * @return Boolean + * @return bool */ public function supportsClass($class); } |