@@ -53,20 +53,20 @@ |
||
53 | 53 | 'migrations_namespace' => 'setMigrationsNamespace', |
54 | 54 | 'table_name' => 'setMigrationsTableName', |
55 | 55 | 'organize_migrations' => 'setMigrationOrganisation', |
56 | - 'name' => 'setName','name' => 'setName', |
|
56 | + 'name' => 'setName', 'name' => 'setName', |
|
57 | 57 | 'migrations_directory' => 'loadMigrationsFromDirectory', |
58 | 58 | 'migrations' => 'loadMigrations', |
59 | 59 | ]; |
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 | } |