We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9a964 commit 019efe7Copy full SHA for 019efe7
src/Rules/InternalTag/RestrictedInternalUsageHelper.php
@@ -15,7 +15,7 @@ public function shouldBeReported(Scope $scope, string $name): bool
15
$currentNamespace = $scope->getNamespace();
16
if ($currentNamespace === null) {
17
$classReflection = $scope->getClassReflection();
18
- if (null === $classReflection) {
+ if ($classReflection === null) {
19
return true;
20
}
21
0 commit comments