Skip to content

Commit 4033321

Browse files
committed
Updated BetterReflection
1 parent 22871e7 commit 4033321

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"nette/utils": "^3.1.3",
2424
"nikic/php-parser": "4.10.2",
2525
"ondram/ci-detector": "^3.4.0",
26-
"ondrejmirtes/better-reflection": "4.3.34",
26+
"ondrejmirtes/better-reflection": "4.3.35",
2727
"phpdocumentor/reflection-docblock": "4.3.4",
2828
"phpstan/php-8-stubs": "^0.1.3",
2929
"phpstan/phpdoc-parser": "^0.4.9",

composer.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Reflection/ReflectionProvider/ClassBlacklistReflectionProvider.php

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ public function __construct(
4242

4343
public function hasClass(string $className): bool
4444
{
45-
if (strtolower($className) === 'generator') {
46-
return true;
47-
}
48-
4945
if ($this->isClassBlacklisted($className)) {
5046
return false;
5147
}

0 commit comments

Comments
 (0)