Skip to content

Commit f59c8fe

Browse files
phpstan-botclaude
authored andcommitted
Fix lint: use import statement for IdentifierRuleError
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 87758ef commit f59c8fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Rules/Classes/DuplicateDeclarationHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use PhpParser\Node\Stmt\ClassConst;
77
use PhpParser\Node\Stmt\ClassLike;
88
use PhpParser\Node\Stmt\EnumCase;
9+
use PHPStan\Rules\IdentifierRuleError;
910
use PHPStan\Rules\RuleErrorBuilder;
1011
use PHPStan\ShouldNotHappenException;
1112
use function array_key_exists;
@@ -17,7 +18,7 @@ final class DuplicateDeclarationHelper
1718
{
1819

1920
/**
20-
* @return list<\PHPStan\Rules\IdentifierRuleError>
21+
* @return list<IdentifierRuleError>
2122
*/
2223
public static function checkClassLike(ClassLike $classLike, string $displayName, string $identifierType): array
2324
{

0 commit comments

Comments
 (0)