Skip to content

Commit 8bd591e

Browse files
committed
minor #14090 CS: Unary operators should be placed adjacent to their operands (keradus)
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
2 parents 70eb0ea + b3a8fb1 commit 8bd591e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/Token/AbstractToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private function hasUserChanged(UserInterface $user)
252252
}
253253

254254
if ($this->user instanceof EquatableInterface) {
255-
return ! (bool) $this->user->isEqualTo($user);
255+
return !(bool) $this->user->isEqualTo($user);
256256
}
257257

258258
if ($this->user->getPassword() !== $user->getPassword()) {

0 commit comments

Comments
 (0)