@@ -127,7 +127,7 @@ |
||
127 | 127 | $table->addColumn(new Text('value')); |
128 | 128 | $table->addColumn(new Varchar('context', 255)); |
129 | 129 | $table->addConstraint( |
130 | - new UniqueKey(['path','context'], 'configuration_uniqueness_index') |
|
130 | + new UniqueKey(['path','context'], 'configuration_uniqueness_index') |
|
131 | 131 | ); |
132 | 132 | |
133 | 133 | $sql = new Sql($this->adapter); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | $resultSet = $statement->execute(); |
92 | 92 | $this->data[$context] = []; |
93 | 93 | foreach ($resultSet as $result) { |
94 | - $this->data[$context][$result['path']] = $result['value']; |
|
94 | + $this->data[$context][$result['path']] = $result['value']; |
|
95 | 95 | } |
96 | 96 | } |
97 | 97 | } |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | $table->addColumn(new Text('value')); |
128 | 128 | $table->addColumn(new Varchar('context', 255)); |
129 | 129 | $table->addConstraint( |
130 | - new UniqueKey(['path','context'], 'configuration_uniqueness_index') |
|
130 | + new UniqueKey(['path', 'context'], 'configuration_uniqueness_index') |
|
131 | 131 | ); |
132 | 132 | |
133 | 133 | $sql = new Sql($this->adapter); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | public function toXml() |
9 | 9 | { |
10 | - $file = $this->getFile(); |
|
10 | + $file = $this->getFile(); |
|
11 | 11 | $results = include $file; |
12 | 12 | $config = new \SimpleXMLElement('<configuration />'); |
13 | 13 | foreach ($results as $section => $sectionData) { |
@@ -25,12 +25,12 @@ discard block |
||
25 | 25 | $this->cache = $cache; |
26 | 26 | $this->builder = $builder; |
27 | 27 | $this->localCache = $localCache; |
28 | - } |
|
28 | + } |
|
29 | 29 | |
30 | - public function getBuilder() |
|
31 | - { |
|
32 | - return $this->builder; |
|
33 | - } |
|
30 | + public function getBuilder() |
|
31 | + { |
|
32 | + return $this->builder; |
|
33 | + } |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string $context The (configurable) context for the needed configuration object |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | if ($this->localCache instanceof StorageInterface) { |
76 | 76 | $this->localCache->setItem($currentConfigItem, $config); |
77 | 77 | } |
78 | - } |
|
78 | + } |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | if ($config) { |