@@ -137,7 +137,7 @@ |
||
137 | 137 | $records[] = $this->getEntityFromDatabaseArray($item); |
138 | 138 | } |
139 | 139 | |
140 | - return array_map(static function ($role) { |
|
140 | + return array_map(static function($role) { |
|
141 | 141 | return $role->role; |
142 | 142 | }, $records); |
143 | 143 | } |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | // https://symfonycasts.com/screencast/symfony6-upgrade/custom-authenticator |
55 | 55 | return new Passport( |
56 | - new UserBadge($userName, function ($userIdentifier) { |
|
56 | + new UserBadge($userName, function($userIdentifier) { |
|
57 | 57 | // optionally pass a callback to load the User manually |
58 | 58 | $user = $this->userRepository->fetchOneBy(['username' => $userIdentifier]); |
59 | 59 | if (!$user) { |