We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f5ff94 commit 148f08fCopy full SHA for 148f08f
src/Parser/Tokens.php
@@ -39,7 +39,7 @@ public function rewind() {
39
}
40
41
public function add($token) {
42
- if ($token instanceof Tokens) $this->tokens = array_merge($token->tokens);
+ if ($token instanceof Tokens) $this->tokens = array_merge($this->tokens, $token->tokens);
43
else $this->tokens[] = $token;
44
45
0 commit comments