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 4d1b832 commit 7091665Copy full SHA for 7091665
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