Skip to content

Commit

Permalink
Add ancillary var types
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 28, 2019
1 parent a89892a commit 0e6d07c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ function (Clause $c) use ($changed_var_ids) {
return false;
}

/** @var array<string, bool> */
$new_referenced_var_ids = $elseif_context->referenced_var_ids;
$elseif_context->referenced_var_ids = array_merge(
$referenced_var_ids,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public static function analyze(
return false;
}

/** @var array<string, bool> */
$new_referenced_var_ids = $context->referenced_var_ids;
$context->referenced_var_ids = array_merge($pre_referenced_var_ids, $new_referenced_var_ids);

Expand Down

0 comments on commit 0e6d07c

Please sign in to comment.