Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 19, 2020
1 parent 9be81c3 commit ffccecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function hasClass(string $className): bool

private function isClassBlacklisted(string $className): bool
{
if ($this->phpStormStubsSourceStubber->hasClass($className) && $className !== \Generator::class) {
if ($this->phpStormStubsSourceStubber->hasClass($className)) {
// check that userland class isn't aliased to the same name as a class from stubs
if (!class_exists($className, false)) {
return true;
Expand Down

0 comments on commit ffccecd

Please sign in to comment.