Skip to content

Commit

Permalink
fixup! fix blade regex to include methods with args
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 16, 2024
1 parent 2625646 commit 7c8feba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Collectors/PublicStaticPropertyFetchCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function processNode(Node $node, Scope $scope): ?array
return null;
}

$classType = $node->class instanceof Name ? $scope->resolveTypeByName($node->class) : $scope->getType($node->class);
$classType = $node->class instanceof Name ? $scope->resolveTypeByName($node->class) : $scope->getType(
$node->class
);

$result = [];
foreach ($classType->getObjectClassReflections() as $classReflection) {
Expand Down

0 comments on commit 7c8feba

Please sign in to comment.