diff options
author | Pascal Borreli <pascal@borreli.com> | 2013-04-21 13:23:54 +0000 |
---|---|---|
committer | Pascal Borreli <pascal@borreli.com> | 2013-04-21 13:23:54 +0000 |
commit | 38e616ecd2dea264fa64730286f84f1a51b04614 (patch) | |
tree | b3575a7662b93d5a9190236a67e9a297a482a48f /Core/Authentication | |
parent | 56ddd41a7e9dce580ae6b6ef10350f9663b34d4b (diff) | |
download | symfony-security-38e616ecd2dea264fa64730286f84f1a51b04614.zip symfony-security-38e616ecd2dea264fa64730286f84f1a51b04614.tar.gz symfony-security-38e616ecd2dea264fa64730286f84f1a51b04614.tar.bz2 |
Fixed typos
Diffstat (limited to 'Core/Authentication')
-rw-r--r-- | Core/Authentication/Token/AbstractToken.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Authentication/Token/AbstractToken.php b/Core/Authentication/Token/AbstractToken.php index f21aa76..1d65819 100644 --- a/Core/Authentication/Token/AbstractToken.php +++ b/Core/Authentication/Token/AbstractToken.php @@ -91,7 +91,7 @@ abstract class AbstractToken implements TokenInterface public function setUser($user) { if (!($user instanceof UserInterface || (is_object($user) && method_exists($user, '__toString')) || is_string($user))) { - throw new \InvalidArgumentException('$user must be an instanceof of UserInterface, an object implementing a __toString method, or a primitive string.'); + throw new \InvalidArgumentException('$user must be an instanceof UserInterface, an object implementing a __toString method, or a primitive string.'); } if (null === $this->user) { @@ -190,7 +190,7 @@ abstract class AbstractToken implements TokenInterface } /** - * Returns a attribute value. + * Returns an attribute value. * * @param string $name The attribute name * |