Skip to content

Commit

Permalink
Merge pull request vimeo#10975 from VincentLanglet/phpstanPure
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Jun 15, 2024
2 parents 2fa66e0 + a926499 commit af088f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ public static function parse(

$info->variadic = isset($parsed_docblock->tags['psalm-variadic']);
$info->pure = isset($parsed_docblock->tags['psalm-pure'])
|| isset($parsed_docblock->tags['phpstan-pure'])
|| isset($parsed_docblock->tags['pure']);

if (isset($parsed_docblock->tags['psalm-mutation-free'])) {
Expand Down

0 comments on commit af088f9

Please sign in to comment.