Skip to content

Commit

Permalink
fix class reference
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 2, 2025
1 parent cfdb0d3 commit 55f28f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rules/PHPUnit/PublicStaticDataProviderRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function processNode(Node $node, Scope $scope): array

$classLike = $node->getOriginalNode();
foreach ($classLike->getMethods() as $classMethod) {
if (! PHPUnitTestAnalyser::class::isTestClassMethod($classMethod)) {
if (! PHPUnitTestAnalyser::isTestClassMethod($classMethod)) {
continue;
}

Expand Down

0 comments on commit 55f28f8

Please sign in to comment.