@@ -18,8 +18,7 @@ discard block |
||
| 18 | 18 | $colName = $col->getName(); |
| 19 | 19 | if (strlen($colName) > 0) { |
| 20 | 20 | $this->projectedColNameMap[$colName] = (isset($this->projectedColNameMap[$colName]) ? |
| 21 | - Tuple::AMBIGUOUS_COL : |
|
| 22 | - $colOffset |
|
| 21 | + Tuple::AMBIGUOUS_COL : $colOffset |
|
| 23 | 22 | ); |
| 24 | 23 | } |
| 25 | 24 | } |
@@ -33,7 +32,7 @@ discard block |
||
| 33 | 32 | * @param int $starCnt number of star wildcards is stored here |
| 34 | 33 | * @return string PCRE equivalent to <tt>$macroPattern</tt> |
| 35 | 34 | */ |
| 36 | - protected static function simpleMacroPatternToPcre(string $macroPattern, int &$starCnt = null): string |
|
| 35 | + protected static function simpleMacroPatternToPcre(string $macroPattern, int & $starCnt = null): string |
|
| 37 | 36 | { |
| 38 | 37 | $starCnt = 0; |
| 39 | 38 | $pcre = '/^'; |
@@ -196,7 +196,7 @@ |
||
| 196 | 196 | $curFragmentNum++; |
| 197 | 197 | $argsProcessed += count($posParams); |
| 198 | 198 | |
| 199 | - $curFragment =& $fragmentsAndPositionalParams[$argsProcessed]; |
|
| 199 | + $curFragment = & $fragmentsAndPositionalParams[$argsProcessed]; |
|
| 200 | 200 | $argsProcessed++; |
| 201 | 201 | } while (isset($curFragment)); |
| 202 | 202 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * |
| 11 | 11 | * @param string $pattern |
| 12 | 12 | * @param callable $callback |
| 13 | - * @param string|string[] $subject |
|
| 13 | + * @param string $subject |
|
| 14 | 14 | * @param int $limit |
| 15 | 15 | * @param int|null $count |
| 16 | 16 | * @return string|string[] depending on whether <tt>$subject</tt> is <tt>string</tt> or <tt>array</tt>, |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | callable $callback, |
| 22 | 22 | $subject, |
| 23 | 23 | int $limit = -1, |
| 24 | - int &$count = null |
|
| 24 | + int & $count = null |
|
| 25 | 25 | ) |
| 26 | 26 | { |
| 27 | 27 | if (is_array($subject)) { |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | callable $callback, |
| 41 | 41 | string $subject, |
| 42 | 42 | int $limit = -1, |
| 43 | - int &$count = null |
|
| 43 | + int & $count = null |
|
| 44 | 44 | ): string |
| 45 | 45 | { |
| 46 | 46 | $count = 0; |