@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | case $value instanceof \JsonSerializable: |
132 | 132 | break; |
133 | 133 | case \is_object($value) && \method_exists($value, '__toString'): |
134 | - $value = (string)$value; |
|
134 | + $value = (string) $value; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | $result[$key] = $value; |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | */ |
165 | 165 | public function offsetExists($offset): bool |
166 | 166 | { |
167 | - return $this->has((string)$offset); |
|
167 | + return $this->has((string) $offset); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | */ |
174 | 174 | public function offsetGet($offset) |
175 | 175 | { |
176 | - return $this->get((string)$offset); |
|
176 | + return $this->get((string) $offset); |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | /** |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | $offset = \count($this->attributes); |
187 | 187 | } |
188 | 188 | |
189 | - $this->set((string)$offset, $value); |
|
189 | + $this->set((string) $offset, $value); |
|
190 | 190 | } |
191 | 191 | |
192 | 192 | /** |
@@ -194,6 +194,6 @@ discard block |
||
194 | 194 | */ |
195 | 195 | public function offsetUnset($offset): void |
196 | 196 | { |
197 | - $this->delete((string)$offset); |
|
197 | + $this->delete((string) $offset); |
|
198 | 198 | } |
199 | 199 | } |