File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/CoreShop/Bundle/CoreBundle/Security Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 174174 "symfony-tests-dir" : " tests" ,
175175 "symfony-assets-install" : " relative"
176176 },
177- "minimum-stability" : " dev" ,
178177 "prefer-stable" : true ,
179178 "config" : {
180179 "sort-packages" : true ,
Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ public function __construct(
3131 ) {
3232 }
3333
34- public function loadUserByUsername (string $ username ): ?UserInterface
35- {
36- return $ this ->loadUserByIdentifier ($ username );
37- }
38-
3934 public function loadUserByIdentifier (string $ identifier ): UserInterface
4035 {
4136 $ user = $ this ->userRepository ->findByLoginIdentifier ($ identifier );
@@ -47,7 +42,7 @@ public function loadUserByIdentifier(string $identifier): UserInterface
4742 throw new UserNotFoundException (sprintf ('User with email address or username "%s" was not found ' , $ identifier ));
4843 }
4944
50- public function refreshUser (UserInterface $ user ): ? UserInterface
45+ public function refreshUser (UserInterface $ user ): UserInterface
5146 {
5247 if (!$ user instanceof \CoreShop \Component \Core \Model \UserInterface) {
5348 throw new UnsupportedUserException ();
You can’t perform that action at this time.
0 commit comments