Skip to content

Commit

Permalink
merge ancestor
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 5, 2021
1 parent a9362fd commit daa6bff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function refactor(Node $node): ?Node
unset($extends[$key]);
}

$collectInterfaces[] = $this->familyRelationsAnalyzer->getClassLikeAncestorNames($extend);
$collectInterfaces = array_merge($collectInterfaces, $this->familyRelationsAnalyzer->getClassLikeAncestorNames($extend));
}

return $node;
Expand Down

0 comments on commit daa6bff

Please sign in to comment.