1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add support for phpstan-param-out

This commit is contained in:
Vincent Langlet 2022-11-07 10:22:33 +01:00
parent d0bc6e25d8
commit 6916d414e2

View File

@ -258,9 +258,11 @@ class DocblockParser
if (isset($docblock->tags['param-out'])
|| isset($docblock->tags['psalm-param-out'])
|| isset($docblock->tags['phpstan-param-out'])
) {
$docblock->combined_tags['param-out']
= ($docblock->tags['param-out'] ?? [])
+ ($docblock->tags['phpstan-param-out'] ?? [])
+ ($docblock->tags['psalm-param-out'] ?? []);
}
}