Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 7, 2022
1 parent af26168 commit 0e9e6ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Analyser/MutatingScope.php
Expand Up @@ -4100,6 +4100,8 @@ public function unsetExpression(Expr $expr): self
$this->getType($expr->var)->unsetOffset($this->getType($expr->dim)),
)->invalidateExpression(
new FuncCall(new FullyQualified('count'), [new Arg($expr->var)]),
)->invalidateExpression(
new FuncCall(new FullyQualified('sizeof'), [new Arg($expr->var)]),
);
}

Expand Down

0 comments on commit 0e9e6ad

Please sign in to comment.