Skip to content

Commit 96e7cee

Browse files
committed
Update UnionType.php
1 parent abd9997 commit 96e7cee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Type/UnionType.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,8 +1568,7 @@ public function getFiniteTypes(): array
15681568
return $this->finiteTypes = [];
15691569
}
15701570

1571-
$this->finiteTypes = array_values($uniquedTypes);
1572-
return $this->finiteTypes;
1571+
return $this->finiteTypes = array_values($uniquedTypes);
15731572
}
15741573

15751574
/**

0 commit comments

Comments
 (0)