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 3670318 commit ab69c0aCopy full SHA for ab69c0a
lib/internal/Magento/Framework/ObjectManager/Config/Compiled.php
@@ -36,9 +36,9 @@ class Compiled implements ConfigInterface
36
*/
37
public function __construct($data)
38
{
39
- $this->arguments = $data['arguments'];
40
- $this->virtualTypes = $data['instanceTypes'];
41
- $this->preferences = $data['preferences'];
+ $this->arguments = $data['arguments'] ?: [];
+ $this->virtualTypes = $data['instanceTypes'] ?: [];
+ $this->preferences = $data['preferences'] ?: [];
42
}
43
44
/**
0 commit comments