|
@@ -31,11 +31,11 @@ |
|
|
block discarded – undo |
|
31
|
31
|
/** @var Config $config */ |
|
32
|
32
|
$config = $serviceManager->get("$moduleName\\$entityName\\Infrastructure\\Config"); |
|
33
|
33
|
|
|
34
|
|
- $features = []; |
|
|
34
|
+ $features = [ ]; |
|
35
|
35
|
$tableSequence = $config->getSequence($entityName); |
|
36
|
36
|
$tablePrimaryKey = $config->getPrimaryKey($entityName); |
|
37
|
37
|
if (!empty($tableSequence) && !empty($tablePrimaryKey)) { |
|
38
|
|
- $features[] = new SequenceFeature($tablePrimaryKey, $tableSequence); |
|
|
38
|
+ $features[ ] = new SequenceFeature($tablePrimaryKey, $tableSequence); |
|
39
|
39
|
} |
|
40
|
40
|
|
|
41
|
41
|
$tableGateway = new TableGateway($config->getTable($entityName), $dbAdapter, $features); |
Please login to merge, or discard this patch.