Passed
Push — develop ( 48a229...de32d6 )
by nguereza
10:40
created
src/Stream.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ServerRequestInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.