diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-04-12 19:44:00 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-04-13 20:00:14 +0200 |
commit | b2718821b6325d65b9b51eecb671f84605716af6 (patch) | |
tree | a1d603aec75010840b2a53601dac6fd7d0ac9d99 /Core/Authentication/Token | |
parent | 11c6ba069dbe07aa890760544e38585581a2ee6e (diff) | |
download | symfony-security-b2718821b6325d65b9b51eecb671f84605716af6.zip symfony-security-b2718821b6325d65b9b51eecb671f84605716af6.tar.gz symfony-security-b2718821b6325d65b9b51eecb671f84605716af6.tar.bz2 |
made types consistent with those defined in Hack
Diffstat (limited to 'Core/Authentication/Token')
-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 e4c46d5..b86e025 100644 --- a/Core/Authentication/Token/AbstractToken.php +++ b/Core/Authentication/Token/AbstractToken.php @@ -131,7 +131,7 @@ abstract class AbstractToken implements TokenInterface */ public function setAuthenticated($authenticated) { - $this->authenticated = (Boolean) $authenticated; + $this->authenticated = (bool) $authenticated; } /** @@ -251,7 +251,7 @@ abstract class AbstractToken implements TokenInterface } if ($this->user instanceof EquatableInterface) { - return ! (Boolean) $this->user->isEqualTo($user); + return ! (bool) $this->user->isEqualTo($user); } if ($this->user->getPassword() !== $user->getPassword()) { |