Skip to content

Commit 5b35ae7

Browse files
committed
Fix too long line - phpcs linting hint (#592)
Signed-off-by: Nicolai Ehrhardt <[email protected]>
1 parent bc4e5e9 commit 5b35ae7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Parsers/AlterOperations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,11 @@ public static function parse(Parser $parser, TokensList $list, array $options =
370370
break;
371371
}
372372
} elseif (! self::checkIfTokenQuotedSymbol($token) && $token->type !== TokenType::String) {
373-
if (isset(Parser::STATEMENT_PARSERS[$arrayKey]) && Parser::STATEMENT_PARSERS[$arrayKey] !== '' && ! in_array($arrayKey, ['ASC', 'DESC'], true)) {
373+
if (
374+
isset(Parser::STATEMENT_PARSERS[$arrayKey])
375+
&& Parser::STATEMENT_PARSERS[$arrayKey] !== ''
376+
&& ! in_array($arrayKey, ['ASC', 'DESC'], true)
377+
) {
374378
$list->idx++; // Ignore the current token
375379
$nextToken = $list->getNext();
376380

0 commit comments

Comments
 (0)