We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009bd62 commit d1edda0Copy full SHA for d1edda0
src/PHPCR/Util/QOM/Sql2ToQomQueryConverter.php
@@ -699,8 +699,7 @@ protected function parseLiteral()
699
if (substr($token, -1) !== $quoteString) {
700
throw new \Exception("Syntax error: unterminated quoted string $token in '{$this->sql2}'");
701
}
702
-
703
- $token = substr($token, 1, -1);
+ $token = substr($token, 1, -1);
704
} else if (is_numeric($token)){
705
$token = strpos($token, '.') === false ? (int) $token : (float) $token;
706
} else if ($token == 'true') {
0 commit comments