We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c45e4 commit f24f574Copy full SHA for f24f574
setup/src/Magento/Setup/Module/Di/Compiler/ArgumentsResolver.php
@@ -193,11 +193,11 @@ private function getConfiguredArguments($instanceType)
193
$configuredArguments = $this->diContainerConfig->getArguments($instanceType);
194
return array_map(
195
function ($type) {
196
- if (!is_array($type)) {
+ if (is_object($type)) {
197
return;
198
}
199
200
- if (isset($type['instance'])) {
+ if (is_array($type) && isset($type['instance'])) {
201
$type['instance'] = ltrim($type['instance'], '\\');
202
203
0 commit comments