We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fa66e0 + a926499 commit af088f9Copy full SHA for af088f9
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php
@@ -574,6 +574,7 @@ public static function parse(
574
575
$info->variadic = isset($parsed_docblock->tags['psalm-variadic']);
576
$info->pure = isset($parsed_docblock->tags['psalm-pure'])
577
+ || isset($parsed_docblock->tags['phpstan-pure'])
578
|| isset($parsed_docblock->tags['pure']);
579
580
if (isset($parsed_docblock->tags['psalm-mutation-free'])) {
0 commit comments