@@ -55,8 +55,7 @@ discard block |
||
55 | 55 | * @class Stream |
56 | 56 | * @package Platine\Http |
57 | 57 | */ |
58 | -class Stream implements StreamInterface |
|
59 | -{ |
|
58 | +class Stream implements StreamInterface { |
|
60 | 59 | /** |
61 | 60 | * The writable stream modes. |
62 | 61 | */ |
@@ -207,8 +206,7 @@ discard block |
||
207 | 206 | /** |
208 | 207 | * {@inheritdoc} |
209 | 208 | */ |
210 | - public function detach() |
|
211 | - { |
|
209 | + public function detach() { |
|
212 | 210 | $resource = $this->resource; |
213 | 211 | if ($resource !== null) { |
214 | 212 | $this->resource = null; |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * @return null|array<string, mixed>|object The deserialized body parameters, if any. |
220 | 220 | * These will typically be an array or object. |
221 | 221 | */ |
222 | - public function getParsedBody(): array|object|null; |
|
222 | + public function getParsedBody(): array | object | null; |
|
223 | 223 | |
224 | 224 | /** |
225 | 225 | * Return an instance with the specified body parameters. |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | * @throws InvalidArgumentException if an unsupported argument type is |
252 | 252 | * provided. |
253 | 253 | */ |
254 | - public function withParsedBody(array|object|null $data): self; |
|
254 | + public function withParsedBody(array | object | null $data): self; |
|
255 | 255 | |
256 | 256 | /** |
257 | 257 | * Retrieve attributes derived from the request. |