Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Update ParentClassNameCollectingNodeVisitor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 5, 2024
1 parent 49b2503 commit 043e86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NodeVisitor/ParentClassNameCollectingNodeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public function getParentClassNames(): array
$namespacedClassNames = [];
foreach($uniqueParentClassNames as $className) {
try {
$reflection = new \ReflectionClass($className);
if ($reflection->isInternal()) {
$reflectionClass = new \ReflectionClass($className);
if ($reflectionClass->isInternal()) {
continue;
}
$namespacedClassNames[] = $className;
Expand Down

0 comments on commit 043e86e

Please sign in to comment.