Skip to content

Commit

Permalink
Add the is_list flag to object-like tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 11, 2020
1 parent eefd2e7 commit 8bfe917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ function (ParseTree $child_tree) use ($codebase, $template_type_map) {

if ($is_tuple) {
$object_like->sealed = true;
$object_like->is_list = true;
}

return $object_like;
Expand Down

0 comments on commit 8bfe917

Please sign in to comment.