1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

remove useless statement

This commit is contained in:
orklah 2021-12-27 23:11:40 +01:00
parent 5f6bb39888
commit ce1f992bcc

View File

@ -640,11 +640,9 @@ class ParseTreeCreator
$new_parent_leaf = new UnionTree($this->current_leaf);
$new_parent_leaf->children = [$this->current_leaf];
$new_parent_leaf->parent = $current_parent;
$this->current_leaf->parent = $new_parent_leaf;
} else {
$new_parent_leaf = new UnionTree($current_parent);
$new_parent_leaf->children = [$this->current_leaf];
$this->current_leaf->parent = $new_parent_leaf;
}
if ($current_parent) {