@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | { |
| 473 | 473 | throw new RoutineLoaderException('Tag @type not found in DocBlock.'); |
| 474 | 474 | } |
| 475 | - elseif (count($tags)>1) |
|
| 475 | + elseif (count($tags) > 1) |
|
| 476 | 476 | { |
| 477 | 477 | throw new RoutineLoaderException('Multiple @type tags found in DocBlock.'); |
| 478 | 478 | } |
@@ -635,7 +635,7 @@ discard block |
||
| 635 | 635 | $key1 = $this->findFirstMatchingLine('/^\s*(as|is)\s*$/i'); |
| 636 | 636 | $key2 = $this->findFirstMatchingLine('/^\s*begin\s*$/i'); |
| 637 | 637 | |
| 638 | - if ($key1!==null && $key2!==null && $key1<$key2) |
|
| 638 | + if ($key1!==null && $key2!==null && $key1 < $key2) |
|
| 639 | 639 | { |
| 640 | 640 | $this->syntax = self::PL_SQL_SYNTAX; |
| 641 | 641 | } |
@@ -800,7 +800,7 @@ discard block |
||
| 800 | 800 | |
| 801 | 801 | $start = $this->findFirstMatchingLine('/^\s*\/\*\*\s*$/'); |
| 802 | 802 | $end = $this->findFirstMatchingLine('/^\s*\*\/\s*$/'); |
| 803 | - if ($start!==null && $end!==null && $start<$end) |
|
| 803 | + if ($start!==null && $end!==null && $start < $end) |
|
| 804 | 804 | { |
| 805 | 805 | $lines = array_slice($this->routineSourceCodeLines, $start, $end - $start + 1); |
| 806 | 806 | $docBlock = implode(PHP_EOL, $lines); |