Skip to content

Commit ffccecd

Browse files
committed
Cleanup
1 parent 9be81c3 commit ffccecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reflection/ReflectionProvider/ClassBlacklistReflectionProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function hasClass(string $className): bool
7575

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

0 commit comments

Comments
 (0)