Skip to content

Commit

Permalink
Merge pull request #8678 from VincentLanglet/phpstanParamOut
Browse files Browse the repository at this point in the history
Add support for phpstan-param-out
  • Loading branch information
orklah committed Nov 7, 2022
2 parents d0bc6e2 + 6916d41 commit 618d599
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Psalm/Internal/Scanner/DocblockParser.php
Expand Up @@ -258,9 +258,11 @@ private static function resolveTags(ParsedDocblock $docblock): void

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'] ?? []);
}
}
Expand Down

0 comments on commit 618d599

Please sign in to comment.