@@ -284,8 +284,8 @@ discard block |
||
284 | 284 | } elseif (($token->value === ',') && ($brackets === 0)) { |
285 | 285 | break; |
286 | 286 | } |
287 | - } elseif (! self::checkIfTokenQuotedSymbol($token)) { |
|
288 | - if (! empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
287 | + } elseif (!self::checkIfTokenQuotedSymbol($token)) { |
|
288 | + if (!empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
289 | 289 | // We want to get the next non-comment and non-space token after $token |
290 | 290 | // therefore, the first getNext call will start with the current $idx which's $token, |
291 | 291 | // will return it and increase $idx by 1, which's not guaranteed to be non-comment |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | } elseif ( |
319 | 319 | (array_key_exists($arrayKey, self::$DB_OPTIONS) |
320 | 320 | || array_key_exists($arrayKey, self::$TABLE_OPTIONS)) |
321 | - && ! self::checkIfColumnDefinitionKeyword($arrayKey) |
|
321 | + && !self::checkIfColumnDefinitionKeyword($arrayKey) |
|
322 | 322 | ) { |
323 | 323 | // This alter operation has finished, which means a comma |
324 | 324 | // was missing before start of new alter operation |