@@ -19,8 +19,7 @@ discard block |
||
19 | 19 | private $idColumnName; |
20 | 20 | private $dbalTypeMapper; |
21 | 21 | |
22 | - public function __construct |
|
23 | - ( |
|
22 | + public function __construct( |
|
24 | 23 | Connection $connection, |
25 | 24 | SchemaSynchronizer $tableGenerator, |
26 | 25 | NameGenerator $tableNameGenerator, |
@@ -48,7 +47,7 @@ discard block |
||
48 | 47 | $rowData = array_merge([$this->idColumnName => $record->getId()], $record->getData()); |
49 | 48 | |
50 | 49 | $idType = $this->dbalTypeMapper->mapReadModelToDbalType($metadata->getId()->getDataType()); |
51 | - $types = array_merge([$idType], array_map(function (ReadModelField $field) { |
|
50 | + $types = array_merge([$idType], array_map(function(ReadModelField $field) { |
|
52 | 51 | return $this->dbalTypeMapper->mapReadModelToDbalType($field->getDataType()); |
53 | 52 | }, $metadata->getFields())); |
54 | 53 |