Completed
Push — development ( 41956d...ae84a1 )
by Thomas
01:16 queued 26s
created
htdocs_symfony/src/Repository/SecurityRolesRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Security/LoginFormAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.