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.
2 parents 477bea4 + 7091665 commit 2097c9bCopy full SHA for 2097c9b
lib/internal/Magento/Framework/ObjectManager/Code/Generator/Proxy.php
@@ -155,7 +155,8 @@ protected function _getMethodInfo(\ReflectionMethod $method)
155
$parameterNames = [];
156
$parameters = [];
157
foreach ($method->getParameters() as $parameter) {
158
- $parameterNames[] = '$' . $parameter->getName();
+ $name = $parameter->isVariadic() ? '... $' . $parameter->getName() : '$' . $parameter->getName();
159
+ $parameterNames[] = $name;
160
$parameters[] = $this->_getMethodParameterInfo($parameter);
161
}
162
0 commit comments