mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Add support for phpstan-param-out
This commit is contained in:
parent
d0bc6e25d8
commit
6916d414e2
@ -258,9 +258,11 @@ class DocblockParser
|
|||||||
|
|
||||||
if (isset($docblock->tags['param-out'])
|
if (isset($docblock->tags['param-out'])
|
||||||
|| isset($docblock->tags['psalm-param-out'])
|
|| isset($docblock->tags['psalm-param-out'])
|
||||||
|
|| isset($docblock->tags['phpstan-param-out'])
|
||||||
) {
|
) {
|
||||||
$docblock->combined_tags['param-out']
|
$docblock->combined_tags['param-out']
|
||||||
= ($docblock->tags['param-out'] ?? [])
|
= ($docblock->tags['param-out'] ?? [])
|
||||||
|
+ ($docblock->tags['phpstan-param-out'] ?? [])
|
||||||
+ ($docblock->tags['psalm-param-out'] ?? []);
|
+ ($docblock->tags['psalm-param-out'] ?? []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user