Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 22, 2022
1 parent e910d90 commit 4fc35aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Psalm/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ public function removeDescendents(
$statements_analyzer
);

foreach ($this->vars_in_scope as $var_id => &$type) {
foreach ($this->vars_in_scope as $var_id => $type) {
if (preg_match('/' . preg_quote($remove_var_id, '/') . '[\]\[\-]/', $var_id)) {
$this->remove($var_id, false);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Psalm/Type/ImmutableUnion.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use function get_object_vars;

final class \Psalm\Type\ImmutableUnion implements TypeNode
final class ImmutableUnion implements TypeNode
{
use UnionTrait;

Expand Down

0 comments on commit 4fc35aa

Please sign in to comment.