Skip to content

Commit 1188e03

Browse files
committed
Fix type error
1 parent 0677c17 commit 1188e03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup/src/Magento/Setup/Module/Di/Compiler/ArgumentsResolver.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ private function getConfiguredArguments($instanceType)
193193
$configuredArguments = $this->diContainerConfig->getArguments($instanceType);
194194
return array_map(
195195
function ($type) {
196+
if (!is_array($type)) {
197+
return;
198+
}
199+
196200
if (isset($type['instance'])) {
197201
$type['instance'] = ltrim($type['instance'], '\\');
198202
}

0 commit comments

Comments
 (0)