Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 20, 2020
1 parent 0bebda4 commit 6f87f9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ function (Type $type) use ($constantName): bool {
}
}

if (strtolower($constantName) === 'class') {
continue;
}

if (!$class->hasConstant($constantName)) {
continue;
}
Expand Down

0 comments on commit 6f87f9c

Please sign in to comment.