Completed
Pull Request — development (#850)
by
unknown
01:04
created
htdocs_symfony/src/Repository/UserRolesRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             $databaseArray
145 145
         );
146 146
 
147
-        $entity->id = (int) $this->connection->lastInsertId();
147
+        $entity->id = (int)$this->connection->lastInsertId();
148 148
 
149 149
         return $entity;
150 150
     }
@@ -219,9 +219,9 @@  discard block
 block discarded – undo
219 219
     public function getEntityFromDatabaseArray(array $data) : UserRolesEntity
220 220
     {
221 221
         $entity = new UserRolesEntity();
222
-        $entity->id = (int) $data['id'];
223
-        $entity->userId = (string) $data['user_id'];
224
-        $entity->roleId = (string) $data['role_id'];
222
+        $entity->id = (int)$data['id'];
223
+        $entity->userId = (string)$data['user_id'];
224
+        $entity->roleId = (string)$data['role_id'];
225 225
 
226 226
         return $entity;
227 227
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SecurityRolesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             $databaseArray
173 173
         );
174 174
 
175
-        $entity->id = (int) $this->connection->lastInsertId();
175
+        $entity->id = (int)$this->connection->lastInsertId();
176 176
 
177 177
         return $entity;
178 178
     }
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
     public function getEntityFromDatabaseArray(array $data)
269 269
     : SecurityRolesEntity {
270 270
         $entity = new SecurityRolesEntity();
271
-        $entity->id = (int) $data['id'];
272
-        $entity->role = (string) $data['role'];
271
+        $entity->id = (int)$data['id'];
272
+        $entity->role = (string)$data['role'];
273 273
 
274 274
         return $entity;
275 275
     }
Please login to merge, or discard this patch.