Skip to content

Commit 212a920

Browse files
committed
Update IntersectionType.php
1 parent f4baea8 commit 212a920

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Type/IntersectionType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ public function getValuesArray(): Type
11531153
{
11541154
$cb = static fn (Type $type): Type => $type->getValuesArray();
11551155
if ($this->isList()->yes()) {
1156-
return $this->intersectTypesPreserveTemplateType($cb);
1156+
return $this;
11571157
}
11581158
return $this->intersectTypes($cb);
11591159
}

0 commit comments

Comments
 (0)