We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 407e06b commit fbf923cCopy full SHA for fbf923c
1 file changed
ScriptHandler.php
@@ -62,8 +62,9 @@ private static function processFile(array $config, IOInterface $io)
62
$actualValues = array($parameterKey => array());
63
if ($exists) {
64
$existingValues = $yamlParser->parse(file_get_contents($realFile));
65
- if ($existingValues === null)
+ if ($existingValues === null) {
66
$existingValues = array();
67
+ }
68
if (!is_array($existingValues)) {
69
throw new \InvalidArgumentException(sprintf('The existing "%s" file does not contain an array', $realFile));
70
}
0 commit comments