We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5401f commit 861cd9aCopy full SHA for 861cd9a
1 file changed
src/Type/IntersectionType.php
@@ -806,7 +806,7 @@ public function getObjectTypeOrClassStringObjectType(): Type
806
807
public function isVoid(): TrinaryLogic
808
{
809
- return $this->intersectResults(static fn (Type $type): TrinaryLogic => $type->isVoid());
+ return TrinaryLogic::createNo();
810
}
811
812
public function isScalar(): TrinaryLogic
0 commit comments