Skip to content

Commit

Permalink
Result cache - fix noticing changed extended interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 25, 2021
1 parent a2c878a commit d53a9a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dependency/ExportedNodeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ public function resolve(string $fileName, \PhpParser\Node $node): ?ExportedNode
}

if ($node instanceof \PhpParser\Node\Stmt\Interface_ && isset($node->namespacedName)) {
$extendsNames = [];
$extendsNames = array_map(static function (Name $name): string {
return (string) $name;
}, $node->extends);
$docComment = $node->getDocComment();

$interfaceName = $node->namespacedName->toString();
Expand Down

0 comments on commit d53a9a1

Please sign in to comment.