@@ -59,7 +59,6 @@ |
||
| 59 | 59 | * @throws RecordsNotFoundException |
| 60 | 60 | * @Route("/roles/teamlist", name="roles_teamlist") |
| 61 | 61 | * @Security("is_granted('ROLE_TEAM')") |
| 62 | - |
|
| 63 | 62 | */ |
| 64 | 63 | public function getTeamOverview() |
| 65 | 64 | : Response |
@@ -144,7 +144,7 @@ discard block |
||
| 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 |
||
| 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 | } |