Completed
Push — development ( 1540b5...5e3a03 )
by Thomas
23s
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.
htdocs_symfony/src/Repository/CacheLogsRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
         $entity->logType = $this->logTypesRepository->fetchOneBy(['id' => $entity->type]);
324 324
         $entity->user = $this->userRepository->fetchOneById($entity->userId);
325 325
         $entity->pictures = $this->picturesRepository->fetchBy(['object_id' => $entity->id, 'object_type' => 1]);
326
-        $entity->ratingCacheLog = $this->cacheRatingRepository->getRatingUserCache(['cache_id' => $entity->cacheId, 'user_id' => $entity->userId,]);
326
+        $entity->ratingCacheLog = $this->cacheRatingRepository->getRatingUserCache(['cache_id' => $entity->cacheId, 'user_id' => $entity->userId, ]);
327 327
 
328 328
         return $entity;
329 329
     }
Please login to merge, or discard this patch.
htdocs/lang/de/ocstyle/varset.inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 // REQUEST-Variablen durchlaufen und an target anhaengen
48 48
 $allowed = ['cacheid', 'userid', 'logid', 'desclang', 'descid'];
49 49
 
50
-foreach($_REQUEST as $varname => $varvalue) {
50
+foreach ($_REQUEST as $varname => $varvalue) {
51 51
     if (in_array($varname, $allowed)) {
52 52
         $target .= $varname . '=' . htmlspecialchars($varvalue) . '&';
53 53
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/CachesAttributesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             $databaseArray
128 128
         );
129 129
 
130
-        $entity->cacheId = (int) $this->connection->lastInsertId();
130
+        $entity->cacheId = (int)$this->connection->lastInsertId();
131 131
 
132 132
         return $entity;
133 133
     }
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
     public function getEntityFromDatabaseArray(array $data): GeoCachesAttributesEntity
206 206
     {
207 207
         $entity = new GeoCachesAttributesEntity();
208
-        $entity->cacheId = (int) $data['cache_id'];
209
-        $entity->attribId = (int) $data['attrib_id'];
208
+        $entity->cacheId = (int)$data['cache_id'];
209
+        $entity->attribId = (int)$data['attrib_id'];
210 210
 
211 211
         return $entity;
212 212
     }
Please login to merge, or discard this patch.