1
0
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:
Joe Hoyle 2020-08-31 16:05:22 +02:00 committed by GitHub
parent 921b8e206c
commit 674392737d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,9 @@ class StubsGenerator
: null,
$param->signature_type
? self::getParserTypeFromPsalmType($param->signature_type)
: null
: null,
$param->by_ref,
$param->is_variadic
);
}