We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be81c3 commit ffccecdCopy full SHA for ffccecd
src/Reflection/ReflectionProvider/ClassBlacklistReflectionProvider.php
@@ -75,7 +75,7 @@ public function hasClass(string $className): bool
75
76
private function isClassBlacklisted(string $className): bool
77
{
78
- if ($this->phpStormStubsSourceStubber->hasClass($className) && $className !== \Generator::class) {
+ if ($this->phpStormStubsSourceStubber->hasClass($className)) {
79
// check that userland class isn't aliased to the same name as a class from stubs
80
if (!class_exists($className, false)) {
81
return true;
0 commit comments