Passed
Branch master (caf7cf)
by P.R.
13:06
created
src/Helper/RoutineLoaderHelper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
     {
492 492
       throw new RoutineLoaderException('Tag @type not found in DocBlock.');
493 493
     }
494
-    elseif (count($tags)>1)
494
+    elseif (count($tags) > 1)
495 495
     {
496 496
       throw new RoutineLoaderException('Multiple @type tags found in DocBlock.');
497 497
     }
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
       $key1 = $this->findFirstMatchingLine('/^\s*(as|is)\s*$/i');
655 655
       $key2 = $this->findFirstMatchingLine('/^\s*begin\s*$/i');
656 656
 
657
-      if ($key1!==null && $key2!==null && $key1<$key2)
657
+      if ($key1!==null && $key2!==null && $key1 < $key2)
658 658
       {
659 659
         $this->syntax = self::PL_SQL_SYNTAX;
660 660
       }
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
 
827 827
     $start = $this->findFirstMatchingLine('/^\s*\/\*\*\s*$/');
828 828
     $end   = $this->findFirstMatchingLine('/^\s*\*\/\s*$/');
829
-    if ($start!==null && $end!==null && $start<$end)
829
+    if ($start!==null && $end!==null && $start < $end)
830 830
     {
831 831
       $lines    = array_slice($this->routineSourceCodeLines, $start, $end - $start + 1);
832 832
       $docBlock = implode(PHP_EOL, $lines);
@@ -911,7 +911,7 @@  discard block
 block discarded – undo
911 911
    */
912 912
   private function updateSourceTypeHints(): void
913 913
   {
914
-    $types   = ['int',
914
+    $types = ['int',
915 915
                 'smallint',
916 916
                 'tinyint',
917 917
                 'mediumint',
@@ -941,7 +941,7 @@  discard block
 block discarded – undo
941 941
                 'text',
942 942
                 'mediumtext',
943 943
                 'longtext'];
944
-    $parts   = ['whitespace' => '(?<whitespace>\s+)',
944
+    $parts = ['whitespace' => '(?<whitespace>\s+)',
945 945
                 'type_list'  => str_replace('type-list',
946 946
                                             implode('|', $types),
947 947
                                             '(?<datatype>(type-list).*)'),
Please login to merge, or discard this patch.