Skip to content

Commit 43ed0ef

Browse files
Merge branch '2.7' into 2.8
* 2.7: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
2 parents 163f2da + 8eac001 commit 43ed0ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

User/InMemoryUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function refreshUser(UserInterface $user)
9191
*/
9292
public function supportsClass($class)
9393
{
94-
return $class === 'Symfony\Component\Security\Core\User\User';
94+
return 'Symfony\Component\Security\Core\User\User' === $class;
9595
}
9696

9797
/**

User/LdapUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ public function refreshUser(UserInterface $user)
103103
*/
104104
public function supportsClass($class)
105105
{
106-
return $class === 'Symfony\Component\Security\Core\User\User';
106+
return 'Symfony\Component\Security\Core\User\User' === $class;
107107
}
108108
}

0 commit comments

Comments
 (0)