@@ -21,13 +21,13 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | protected function doLoad($file) |
| 23 | 23 | { |
| 24 | - if ( ! class_exists(Yaml::class)) { |
|
| 24 | + if (!class_exists(Yaml::class)) { |
|
| 25 | 25 | throw MigrationException::yamlConfigurationNotAvailable(); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | $config = Yaml::parse(file_get_contents($file)); |
| 29 | 29 | |
| 30 | - if ( ! is_array($config)) { |
|
| 30 | + if (!is_array($config)) { |
|
| 31 | 31 | throw new \InvalidArgumentException('Not valid configuration.'); |
| 32 | 32 | } |
| 33 | 33 | |