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:
parent
5f6bb39888
commit
ce1f992bcc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user