@@ -127,7 +127,7 @@ discard block |
||
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 |
||
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 | } |
@@ -40,9 +40,9 @@ |
||
40 | 40 | return $this->structMapper->map($rows); |
41 | 41 | } |
42 | 42 | |
43 | - /** |
|
44 | - * @throws FileFormatException |
|
45 | - */ |
|
43 | + /** |
|
44 | + * @throws FileFormatException |
|
45 | + */ |
|
46 | 46 | private function getRowsFromCsv(Reader $csv): array |
47 | 47 | { |
48 | 48 | $content = $csv->getContent(); |