Skip to content

Commit

Permalink
Never pass tag to custom token
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Aug 30, 2024
1 parent 7afd9ef commit 34222fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Environment/Fixtures/CustomTokenParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function parse(Token $token): Node
}
$this->parser->getStream()->expect(Token::BLOCK_END_TYPE);

return new Node([], [], $token->getLine(), $this->getTag());
return new Node([], [], $token->getLine());
}

public function getTag(): string
Expand Down

0 comments on commit 34222fb

Please sign in to comment.