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 38c2061 commit 0677c17Copy full SHA for 0677c17
setup/src/Magento/Setup/Module/Di/Code/Reader/Decorator/Area.php
@@ -50,7 +50,7 @@ public function getList($path)
50
{
51
$classes = [];
52
foreach ($this->classesScanner->getList($path) as $className) {
53
- $classes[$className] = $this->classReaderDecorator->getConstructor($className);
+ $classes[$className] = (array) $this->classReaderDecorator->getConstructor($className);
54
}
55
56
return $classes;
setup/src/Magento/Setup/Module/Di/Definition/Collection.php
@@ -91,6 +91,6 @@ public function getInstancesNamesList()
91
*/
92
public function hasInstance($instanceName)
93
94
- return isset($this->definitions[$instanceName]);
+ return array_key_exists($instanceName, $this->definitions);
95
96
0 commit comments