Completed
Push — next ( 1f9bc0...915add )
by Thomas
22s queued 13s
created
htdocs_symfony/src/Controller/Backend/UserController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
         }
56 56
 
57 57
         return $this->render('backend/user/index.html.twig', [
58
-                                                               'userSearchForm' => $searchForm->createView(),
59
-                                                               'all_users_by_searchfield' => $fetchedUsers
60
-                                                           ]
58
+                                                                'userSearchForm' => $searchForm->createView(),
59
+                                                                'all_users_by_searchfield' => $fetchedUsers
60
+                                                            ]
61 61
         );
62 62
     }
63 63
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/UserRepository.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             $databaseArray
154 154
         );
155 155
 
156
-        $entity->userId = (int) $this->connection->lastInsertId();
156
+        $entity->userId = (int)$this->connection->lastInsertId();
157 157
 
158 158
         return $entity;
159 159
     }
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
             ['user_id' => $entity->userId]
182 182
         );
183 183
 
184
-        $entity->userId = (int) $this->connection->lastInsertId();
184
+        $entity->userId = (int)$this->connection->lastInsertId();
185 185
 
186 186
         return $entity;
187 187
     }
@@ -261,16 +261,16 @@  discard block
 block discarded – undo
261 261
     public function getEntityFromDatabaseArray(array $data)
262 262
     : UserEntity {
263 263
         $entity = new UserEntity();
264
-        $entity->userId = (int) $data['user_id'];
265
-        $entity->dateCreated = (string) $data['date_created'];
266
-        $entity->lastModified = (string) $data['last_modified'];
264
+        $entity->userId = (int)$data['user_id'];
265
+        $entity->dateCreated = (string)$data['date_created'];
266
+        $entity->lastModified = (string)$data['last_modified'];
267 267
         $entity->username = $data['username'];
268 268
         $entity->password = $data['password'];
269 269
         $entity->email = $data['email'];
270
-        $entity->emailProblems = (bool) $data['email_problems'];
271
-        $entity->latitude = (double) $data['latitude'];
272
-        $entity->longitude = (double) $data['longitude'];
273
-        $entity->isActive = (bool) $data['is_active_flag'];
270
+        $entity->emailProblems = (bool)$data['email_problems'];
271
+        $entity->latitude = (double)$data['latitude'];
272
+        $entity->longitude = (double)$data['longitude'];
273
+        $entity->isActive = (bool)$data['is_active_flag'];
274 274
         $entity->firstname = $data['first_name'];
275 275
         $entity->lastname = $data['last_name'];
276 276
         $entity->country = $data['country'];
Please login to merge, or discard this patch.