diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-03-30 17:33:35 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-03-30 17:33:35 +0200 |
commit | 25e914f2b63d4021af1fb0e510ac0843f1bdb3ee (patch) | |
tree | fdc3209a2fcea72a41eefce45e400dfd65c6e34c /Core/Authentication | |
parent | 18435f22371644ee2d1e4adfb79c28f1737952a9 (diff) | |
parent | fb7e9db41c92a967194fb26ed4fef4ce95c7cdac (diff) | |
download | symfony-security-25e914f2b63d4021af1fb0e510ac0843f1bdb3ee.zip symfony-security-25e914f2b63d4021af1fb0e510ac0843f1bdb3ee.tar.gz symfony-security-25e914f2b63d4021af1fb0e510ac0843f1bdb3ee.tar.bz2 |
minor #14090 CS: Unary operators should be placed adjacent to their operands (keradus)v2.3.27
This PR was merged into the 2.3 branch.
Discussion
----------
CS: Unary operators should be placed adjacent to their operands
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | ?
| Fixed tickets | N/A
| License | MIT
| Doc PR | N/A
Update before upcoming changes on PHP CS Fixer 1.7
To keep fabbot.io happy ;)
Commits
-------
2367f4a CS: Unary operators should be placed adjacent to their operands
Diffstat (limited to 'Core/Authentication')
-rw-r--r-- | Core/Authentication/Token/AbstractToken.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Token/AbstractToken.php b/Core/Authentication/Token/AbstractToken.php index d2dc668..a2aefb1 100644 --- a/Core/Authentication/Token/AbstractToken.php +++ b/Core/Authentication/Token/AbstractToken.php @@ -252,7 +252,7 @@ abstract class AbstractToken implements TokenInterface } if ($this->user instanceof EquatableInterface) { - return ! (bool) $this->user->isEqualTo($user); + return !(bool) $this->user->isEqualTo($user); } if ($this->user->getPassword() !== $user->getPassword()) { |