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 55af84f commit 7f31e31Copy full SHA for 7f31e31
lib/internal/Magento/Framework/Interception/ObjectManager/Config/Developer.php
@@ -58,8 +58,8 @@ public function setInterceptionConfig(\Magento\Framework\Interception\ConfigInte
58
public function getInstanceType($instanceName)
59
{
60
$type = parent::getInstanceType($instanceName);
61
- if ($this->interceptionConfig && $this->interceptionConfig->hasPlugins($instanceName)
62
- && $this->interceptableValidator->validate($instanceName)
+ if ($this->interceptionConfig && $this->interceptionConfig->hasPlugins($type)
+ && $this->interceptableValidator->validate($type)
63
) {
64
return $type . '\\Interceptor';
65
}
0 commit comments