Skip to content

Commit

Permalink
#200 - fix direct decendent operator
Browse files Browse the repository at this point in the history
  • Loading branch information
TRPB committed Jul 12, 2018
1 parent 6f5ff94 commit 148f08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/Tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function rewind() {
}

public function add($token) {
if ($token instanceof Tokens) $this->tokens = array_merge($token->tokens);
if ($token instanceof Tokens) $this->tokens = array_merge($this->tokens, $token->tokens);
else $this->tokens[] = $token;
}

Expand Down

0 comments on commit 148f08f

Please sign in to comment.