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 c12221e commit b6f2c46Copy full SHA for b6f2c46
src/bitExpert/PHPStan/Magento/Autoload/InterceptorAutoloader.php
@@ -90,6 +90,7 @@ protected function getFileContents(string $class): string
90
91
$generator = new ClassGenerator();
92
$generator->setName($class)
93
+ ->setExtendedClass($originalClassname)
94
->addProperties([])
95
->addMethods($methods);
96
@@ -213,7 +214,7 @@ protected function _getParameterList(array $parameters)
213
214
array_map(
215
function ($item) {
216
$output = '';
- if (!isset($item['variadic'])) {
217
+ if (isset($item['variadic']) && $item['variadic']) {
218
$output .= '... ';
219
}
220
0 commit comments