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 b634378 commit bb11fffCopy full SHA for bb11fff
src/StaticAnalysis/CodeUnitFindingVisitor.php
@@ -314,6 +314,8 @@ private function unionOrIntersectionAsString(ComplexType $type): string
314
if ($_type instanceof Name) {
315
$types[] = $_type->toCodeString();
316
} else {
317
+ assert($_type instanceof Identifier);
318
+
319
$types[] = $_type->toString();
320
}
321
0 commit comments