Skip to content

Commit 71f4e9e

Browse files
phpstan-botVincentLanglet
authored andcommitted
Fix CI failures [claude-ci-fix]
Automated fix attempt 2 for CI failures.
1 parent 364053b commit 71f4e9e

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/PhpDoc/TypeNodeResolver.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,16 +1263,6 @@ private function resolveConstTypeNode(ConstTypeNode $typeNode, NameScope $nameSc
12631263
continue;
12641264
}
12651265

1266-
if ($isStatic) {
1267-
$constantReflection = $classReflection->getConstant($classConstantName);
1268-
if (!$constantReflection->isFinal() && !$constantReflection->hasPhpDocType() && !$constantReflection->hasNativeType()) {
1269-
$constantTypes[] = new MixedType();
1270-
continue;
1271-
}
1272-
$constantTypes[] = $constantReflection->getValueType();
1273-
continue;
1274-
}
1275-
12761266
$declaringClassName = $reflectionConstant->getDeclaringClass()->getName();
12771267
if (!$this->getReflectionProvider()->hasClass($declaringClassName)) {
12781268
continue;

0 commit comments

Comments
 (0)