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 3c174cb commit 4a919aeCopy full SHA for 4a919ae
src/Statement.php
@@ -323,7 +323,7 @@ public function parse(Parser $parser, TokensList $list)
323
// Fix Issue #221: As `truncate` is not a keyword
324
// but it might be the beginning of a statement of truncate,
325
// so let the value use the keyword field for truncate type.
326
- $token_value = in_array($token->keyword, ['TRUNCATE']) ? $token->keyword : $token->value;
+ $token_value = in_array($token->keyword, array('TRUNCATE')) ? $token->keyword : $token->value;
327
if (! empty(Parser::$KEYWORD_PARSERS[$token_value]) && $list->idx < $list->count) {
328
$class = Parser::$KEYWORD_PARSERS[$token_value]['class'];
329
$field = Parser::$KEYWORD_PARSERS[$token_value]['field'];
0 commit comments