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 e2da7e1 commit 2834264Copy full SHA for 2834264
lib/internal/Magento/Framework/ObjectManager/Config/Config.php
@@ -157,9 +157,9 @@ public function isShared($type)
157
public function getInstanceType($instanceName)
158
{
159
while (isset($this->_virtualTypes[$instanceName])) {
160
- if ($instanceName == $this->_virtualTypes[$instanceName]) {
+ if ($instanceName === $this->_virtualTypes[$instanceName]) {
161
throw new \LogicException(
162
- 'unsupported self-referencing virutal type: '
+ 'unsupported self-referencing virtual type: '
163
.$instanceName
164
);
165
}
0 commit comments