@@ -287,7 +287,7 @@ |
||
| 287 | 287 | $i += $lzsLen - 1; |
| 288 | 288 | continue; |
| 289 | 289 | } |
| 290 | - $result .= (ltrim($fields[$i], '0') ? : '0'); |
|
| 290 | + $result .= (ltrim($fields[$i], '0') ?: '0'); |
|
| 291 | 291 | } |
| 292 | 292 | if ($lzsStart + $lzsLen == 8) { |
| 293 | 293 | $result .= ':'; |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | throw new \InvalidArgumentException('Invalid syntax of hstore value'); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - $k = ($m[2][0] ? : $this->unescapeAtom($m[1][0])); |
|
| 39 | + $k = ($m[2][0] ?: $this->unescapeAtom($m[1][0])); |
|
| 40 | 40 | $v = (!empty($m[4][0]) ? null : (!empty($m[5][0]) ? $m[5][0] : $this->unescapeAtom($m[3][0]))); |
| 41 | 41 | $result[$k] = $v; |
| 42 | 42 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | public function defineTypeAlias(string $alias, string $schemaName, string $typeName) |
| 63 | 63 | { |
| 64 | - $this->nameTypeMap[$alias] =& $this->qualNameTypeMap[$schemaName][$typeName]; |
|
| 64 | + $this->nameTypeMap[$alias] = & $this->qualNameTypeMap[$schemaName][$typeName]; |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | foreach ($this->typeSearchPath as $schemaName) { |
| 92 | 92 | foreach (($this->qualNameTypeMap[$schemaName] ?? []) as $typeName => $converter) { |
| 93 | 93 | if (!isset($this->searchedNameCache[$typeName])) { |
| 94 | - $this->searchedNameCache[$typeName] =& $this->qualNameTypeMap[$schemaName][$typeName]; |
|
| 94 | + $this->searchedNameCache[$typeName] = & $this->qualNameTypeMap[$schemaName][$typeName]; |
|
| 95 | 95 | } |
| 96 | 96 | } |
| 97 | 97 | } |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | callable $callback, |
| 24 | 24 | $subject, |
| 25 | 25 | int $limit = -1, |
| 26 | - int &$count = null |
|
| 26 | + int & $count = null |
|
| 27 | 27 | ) |
| 28 | 28 | { |
| 29 | 29 | if (is_array($subject)) { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | callable $callback, |
| 43 | 43 | string $subject, |
| 44 | 44 | int $limit = -1, |
| 45 | - int &$count = null |
|
| 45 | + int & $count = null |
|
| 46 | 46 | ): string |
| 47 | 47 | { |
| 48 | 48 | if (is_array($pattern)) { |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | * @param int $maxDim the maximal dimension discovered so far |
| 201 | 201 | * @return string the PostgreSQL external representation of <tt>$val</tt> |
| 202 | 202 | */ |
| 203 | - private function serializeValueImpl($val, &$bounds = [], int $curDim = 0, int &$maxDim = -1): string |
|
| 203 | + private function serializeValueImpl($val, &$bounds = [], int $curDim = 0, int & $maxDim = -1): string |
|
| 204 | 204 | { |
| 205 | 205 | if ($val === null) { |
| 206 | 206 | return 'NULL'; |
@@ -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 | |