File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Tests/Functional/Bundle/SecuredPageBundle/Security/Core/User Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Symfony \Bundle \SecurityBundle \Tests \Functional \Bundle \SecuredPageBundle \Security \Core \User ;
4
4
5
+ use Symfony \Bundle \SecurityBundle \Tests \Functional \UserWithoutEquatable ;
5
6
use Symfony \Component \Security \Core \Exception \UnsupportedUserException ;
6
7
use Symfony \Component \Security \Core \Exception \UsernameNotFoundException ;
8
+ use Symfony \Component \Security \Core \User \User ;
7
9
use Symfony \Component \Security \Core \User \UserInterface ;
8
10
use Symfony \Component \Security \Core \User \UserProviderInterface ;
9
11
@@ -52,6 +54,6 @@ public function refreshUser(UserInterface $user)
52
54
53
55
public function supportsClass ($ class )
54
56
{
55
- return ' Symfony\Component\Security\Core\ User\User ' === $ class ;
57
+ return User::class === $ class || UserWithoutEquatable::class === $ class ;
56
58
}
57
59
}
You can’t perform that action at this time.
0 commit comments