@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * |
| 78 | 78 | * @var ArrayObj[]|null |
| 79 | 79 | */ |
| 80 | - public array|null $values = null; |
|
| 80 | + public array | null $values = null; |
|
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * If SET clause is present |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * |
| 86 | 86 | * @var SetOperation[]|null |
| 87 | 87 | */ |
| 88 | - public array|null $set = null; |
|
| 88 | + public array | null $set = null; |
|
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * If SELECT clause is present |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * |
| 110 | 110 | * @var SetOperation[]|null |
| 111 | 111 | */ |
| 112 | - public array|null $onDuplicateSet = null; |
|
| 112 | + public array | null $onDuplicateSet = null; |
|
| 113 | 113 | |
| 114 | 114 | public function build(): string |
| 115 | 115 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * Gets the previous token. Skips any irrelevant token (whitespaces and |
| 115 | 115 | * comments). |
| 116 | 116 | */ |
| 117 | - public function getPrevious(): Token|null |
|
| 117 | + public function getPrevious(): Token | null |
|
| 118 | 118 | { |
| 119 | 119 | for (; $this->idx >= 0; --$this->idx) { |
| 120 | 120 | if ( |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | */ |
| 138 | 138 | public function getPreviousOfType($type) |
| 139 | 139 | { |
| 140 | - if (! is_array($type)) { |
|
| 140 | + if (!is_array($type)) { |
|
| 141 | 141 | $type = [$type]; |
| 142 | 142 | } |
| 143 | 143 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | */ |
| 160 | 160 | public function getNextOfType($type) |
| 161 | 161 | { |
| 162 | - if (! is_array($type)) { |
|
| 162 | + if (!is_array($type)) { |
|
| 163 | 163 | $type = [$type]; |
| 164 | 164 | } |
| 165 | 165 | |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | * @param int $type the type of the token |
| 198 | 198 | * @param int $flag the flag of the token |
| 199 | 199 | */ |
| 200 | - public function getNextOfTypeAndFlag(int $type, int $flag): Token|null |
|
| 200 | + public function getNextOfTypeAndFlag(int $type, int $flag): Token | null |
|
| 201 | 201 | { |
| 202 | 202 | for (; $this->idx < $this->count; ++$this->idx) { |
| 203 | 203 | if (($this->tokens[$this->idx]->type === $type) && ($this->tokens[$this->idx]->flags === $flag)) { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * |
| 229 | 229 | * @param int $offset the offset to be returned |
| 230 | 230 | */ |
| 231 | - public function offsetGet($offset): Token|null |
|
| 231 | + public function offsetGet($offset): Token | null |
|
| 232 | 232 | { |
| 233 | 233 | return $offset < $this->count ? $this->tokens[$offset] : null; |
| 234 | 234 | } |