diff --git a/src/Query/AST/Functions/Mysql/JsonMerge.php b/src/Query/AST/Functions/Mysql/JsonMerge.php index f5ce757..a912caf 100644 --- a/src/Query/AST/Functions/Mysql/JsonMerge.php +++ b/src/Query/AST/Functions/Mysql/JsonMerge.php @@ -61,7 +61,7 @@ public function parse(Parser $parser) $parser->match(Lexer::T_OPEN_PARENTHESIS); $this->firstJsonDocExpr = $parser->StringPrimary(); - $this->jsonDocs[] = $this->firstJsonPathExpr; + $this->jsonDocs[] = $this->firstJsonDocExpr; $parser->match(Lexer::T_COMMA);