Skip to content

Commit f4c7c35

Browse files
Merge branch '2.8' into 3.3
* 2.8: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction [Filesystem] mirror - fix copying content with same name as source/target. .php_cs.dist - simplify config [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2 parents 4b7c592 + 43ed0ef commit f4c7c35

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
@@ -115,7 +115,7 @@ public function refreshUser(UserInterface $user)
115115
*/
116116
public function supportsClass($class)
117117
{
118-
return $class === 'Symfony\Component\Security\Core\User\User';
118+
return 'Symfony\Component\Security\Core\User\User' === $class;
119119
}
120120

121121
/**

0 commit comments

Comments
 (0)