@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | $databaseArray |
141 | 141 | ); |
142 | 142 | |
143 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
143 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
144 | 144 | |
145 | 145 | return $entity; |
146 | 146 | } |
@@ -216,10 +216,10 @@ discard block |
||
216 | 216 | public function getEntityFromDatabaseArray(array $data) |
217 | 217 | : SupportBonuscachesEntity { |
218 | 218 | $entity = new SupportBonuscachesEntity(); |
219 | - $entity->id = (int) $data['id']; |
|
220 | - $entity->wpOc = (string) $data['wp_oc']; |
|
221 | - $entity->isBonusCache = (bool) $data['is_bonus_cache']; |
|
222 | - $entity->belongsToBonusCache = (string) $data['belongs_to_bonus_cache']; |
|
219 | + $entity->id = (int)$data['id']; |
|
220 | + $entity->wpOc = (string)$data['wp_oc']; |
|
221 | + $entity->isBonusCache = (bool)$data['is_bonus_cache']; |
|
222 | + $entity->belongsToBonusCache = (string)$data['belongs_to_bonus_cache']; |
|
223 | 223 | |
224 | 224 | return $entity; |
225 | 225 | } |