Skip to content

Commit e31a234

Browse files
committed
Update DataProviderDataRule.php
1 parent a56169b commit e31a234

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Rules/PHPUnit/DataProviderDataRule.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ public function processNode(Node $node, Scope $scope): array
8383
}
8484

8585
$method = $scope->getFunction();
86-
if ($method === null) {
87-
return [];
88-
}
89-
9086
$classReflection = $scope->getClassReflection();
9187
if (
9288
$classReflection === null

0 commit comments

Comments
 (0)