Skip to content

Commit

Permalink
fix ts_match function parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
pfilsx committed Mar 19, 2023
1 parent 861578c commit a904802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Query/AST/Functions/TsMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TsMatch extends FunctionNode
public function parse(Parser $parser): void
{
$parser->match(Lexer::T_IDENTIFIER);
$parser->match(Lexer::T_CLOSE_PARENTHESIS);
$parser->match(Lexer::T_OPEN_PARENTHESIS);
$this->vector = $parser->StringPrimary();
$parser->match(Lexer::T_COMMA);
$this->query = $parser->StringPrimary();
Expand Down

0 comments on commit a904802

Please sign in to comment.