|
@@ -60,13 +60,13 @@ |
|
|
block discarded – undo |
|
60
|
60
|
|
|
61
|
61
|
protected function setConfiguration(Array $config) |
|
62
|
62
|
{ |
|
63
|
|
- foreach($config as $configurationKey => $configurationValue) { |
|
|
63
|
+ foreach ($config as $configurationKey => $configurationValue) { |
|
64
|
64
|
if (!isset($this->configurationProperties[$configurationKey])) { |
|
65
|
65
|
$msg = sprintf('Migrations configuration key "%s" does not exists.', $configurationKey); |
|
66
|
66
|
throw MigrationException::configurationNotValid($msg); |
|
67
|
67
|
} |
|
68
|
68
|
} |
|
69
|
|
- foreach($this->configurationProperties as $configurationKey => $configurationSetter) { |
|
|
69
|
+ foreach ($this->configurationProperties as $configurationKey => $configurationSetter) { |
|
70
|
70
|
if (isset($config[$configurationKey])) { |
|
71
|
71
|
$this->{$configurationSetter}($config[$configurationKey]); |
|
72
|
72
|
} |
Please login to merge, or discard this patch.