1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Add the is_list flag to object-like tuples

This commit is contained in:
Brown 2020-05-11 08:33:05 -04:00
parent eefd2e743b
commit 8bfe91787d

View File

@ -686,6 +686,7 @@ abstract class Type
if ($is_tuple) {
$object_like->sealed = true;
$object_like->is_list = true;
}
return $object_like;