Passed
Pull Request — master (#461)
by
unknown
03:51
created
src/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
             } else {
498 498
                 // Checking if it is a known statement that can be parsed.
499 499
                 if (empty(static::$statementParsers[$token->keyword])) {
500
-                    if (! isset(static::$statementParsers[$token->keyword])) {
500
+                    if (!isset(static::$statementParsers[$token->keyword])) {
501 501
                         // A statement is considered recognized if the parser
502 502
                         // is aware that it is a statement, but it does not have
503 503
                         // a parser for it yet.
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
 
539 539
             // Handles unions.
540 540
             if (
541
-                ! empty($unionType)
541
+                !empty($unionType)
542 542
                 && ($lastStatement instanceof SelectStatement)
543 543
                 && ($statement instanceof SelectStatement)
544 544
             ) {
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
      *
626 626
      * @throws ParserException throws the exception, if strict mode is enabled.
627 627
      */
628
-    public function error($msg, Token|null $token = null, $code = 0): void
628
+    public function error($msg, Token | null $token = null, $code = 0): void
629 629
     {
630 630
         $error = new ParserException(
631 631
             Translator::gettext($msg),
Please login to merge, or discard this patch.