From e5600f15170ca99e7ed3007a4d8a5502f8349139 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sun, 25 Aug 2024 10:38:35 +0200 Subject: [PATCH] Fix identifier --- src/Rules/PhpDoc/IncompatibleSelfOutTypeRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rules/PhpDoc/IncompatibleSelfOutTypeRule.php b/src/Rules/PhpDoc/IncompatibleSelfOutTypeRule.php index ca8bceb0fb..f7907395ad 100644 --- a/src/Rules/PhpDoc/IncompatibleSelfOutTypeRule.php +++ b/src/Rules/PhpDoc/IncompatibleSelfOutTypeRule.php @@ -66,7 +66,7 @@ public function processNode(Node $node, Scope $scope): array 'PHPDoc tag @phpstan-self-out for method %s::%s() contains unresolvable type.', $classReflection->getDisplayName(), $method->getName(), - ))->identifier('parameter.unresolvableType')->build(); + ))->identifier('selfOut.unresolvableType')->build(); } $escapedTagName = SprintfHelper::escapeFormatString('@phpstan-self-out');