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 9e25516 commit b51e100Copy full SHA for b51e100
lib/internal/Magento/Framework/Interception/Code/Generator/Interceptor.php
@@ -117,10 +117,10 @@ protected function _getMethodInfo(\ReflectionMethod $method)
117
],
118
[
119
$method->getName(),
120
- $returnTypeValue === 'void' ? '' : 'return',
+ $returnTypeValue === 'void' ? '' : ' return',
121
$this->_getParameterList($parameters)
122
123
-<<<'METHOD_BODY'
+ <<<'METHOD_BODY'
124
$pluginInfo = $this->pluginList->getNext($this->subjectType, '%methodName%');
125
if (!$pluginInfo) {
126
%return% parent::%methodName%(%parameters%);
0 commit comments