소스 검색

merged branch igorw/a-user-interface (PR #2555)

Commits
-------

ffa537c replace occurences of "an UserInteface" with "a UserInterface"

Discussion
----------

replace occurences of "an UserInteface" with "a UserInterface"
Fabien Potencier 13 년 전
부모
커밋
bc80f2169a

+ 1 - 1
src/Symfony/Component/Security/Acl/Domain/UserSecurityIdentity.php

@@ -45,7 +45,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
     }
 
     /**
-     * Creates a user security identity from an UserInterface
+     * Creates a user security identity from a UserInterface
      *
      * @param UserInterface $user
      * @return UserSecurityIdentity

+ 1 - 1
src/Symfony/Component/Security/Core/Authentication/Provider/DaoAuthenticationProvider.php

@@ -83,7 +83,7 @@ class DaoAuthenticationProvider extends UserAuthenticationProvider
             $user = $this->userProvider->loadUserByUsername($username);
 
             if (!$user instanceof UserInterface) {
-                throw new AuthenticationServiceException('The user provider must return an UserInterface object.');
+                throw new AuthenticationServiceException('The user provider must return a UserInterface object.');
             }
 
             return $user;

+ 1 - 1
src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php

@@ -67,7 +67,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter
             $user = $this->retrieveUser($username, $token);
 
             if (!$user instanceof UserInterface) {
-                throw new AuthenticationServiceException('retrieveUser() must return an UserInterface.');
+                throw new AuthenticationServiceException('retrieveUser() must return a UserInterface.');
             }
 
             $this->userChecker->checkPreAuth($user);

+ 2 - 2
src/Symfony/Component/Security/Core/User/UserCheckerInterface.php

@@ -23,14 +23,14 @@ interface UserCheckerInterface
     /**
      * Checks the user account before authentication.
      *
-     * @param UserInterface $user An UserInterface instance
+     * @param UserInterface $user a UserInterface instance
      */
     function checkPreAuth(UserInterface $user);
 
     /**
      * Checks the user account after authentication.
      *
-     * @param UserInterface $user An UserInterface instance
+     * @param UserInterface $user a UserInterface instance
      */
     function checkPostAuth(UserInterface $user);
 }

+ 1 - 1
src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php

@@ -176,7 +176,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
     {
         if (!$token->getUser() instanceof UserInterface) {
             if (null !== $this->logger) {
-                $this->logger->debug('Remember-me ignores token since it does not contain an UserInterface implementation.');
+                $this->logger->debug('Remember-me ignores token since it does not contain a UserInterface implementation.');
             }
 
             return;