Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 1, 2022
1 parent 38f46ba commit 065f0be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Analyser/MutatingScope.php
Expand Up @@ -4060,6 +4060,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 065f0be

Please sign in to comment.