mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Include variadic and pass-by-ref params in generated stubs (#4091)
When generating stubs, params that are passed by ref or variadic don't get added to the generated code stub output.
This commit is contained in:
parent
921b8e206c
commit
674392737d
@ -256,7 +256,9 @@ class StubsGenerator
|
||||
: null,
|
||||
$param->signature_type
|
||||
? self::getParserTypeFromPsalmType($param->signature_type)
|
||||
: null
|
||||
: null,
|
||||
$param->by_ref,
|
||||
$param->is_variadic
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user