Skip to content

Commit 6a27516

Browse files
committed
#32321 small fix for usage of argv
1 parent 382854d commit 6a27516

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup/src/Magento/Setup/Mvc/Bootstrap/InitParamListener.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ private function extractInitParameters(Application $application)
137137
}
138138
}
139139

140+
if (!isset($result['argv'])) {
141+
return $result;
142+
}
143+
140144
return array_replace_recursive($result, $this->extractFromCli($result['argv']));
141145
}
142146

0 commit comments

Comments
 (0)