Skip to content

Commit 148f08f

Browse files
committed
#200 - fix direct decendent operator
1 parent 6f5ff94 commit 148f08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser/Tokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function rewind() {
3939
}
4040

4141
public function add($token) {
42-
if ($token instanceof Tokens) $this->tokens = array_merge($token->tokens);
42+
if ($token instanceof Tokens) $this->tokens = array_merge($this->tokens, $token->tokens);
4343
else $this->tokens[] = $token;
4444
}
4545

0 commit comments

Comments
 (0)