Passed
Push — master ( eb38d0...297af8 )
by Thomas
01:48
created
src/Factory/SlimFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * @inheritdoc
46 46
      */
47
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
47
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
48 48
     {
49 49
         return new Request(
50 50
             $method,
51 51
             is_string($uri) ? $this->createUri($uri) : $uri,
52 52
             new Headers(),
53
-            [],
53
+            [ ],
54 54
             $serverParams,
55 55
             $this->createStream()
56 56
         );
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             $size = $stream->getSize();
106 106
         }
107 107
         $meta = $stream->getMetadata();
108
-        $file = $meta['uri'];
108
+        $file = $meta[ 'uri' ];
109 109
         if ($file === 'php://temp') {
110 110
             // Slim needs an actual path to the file
111 111
             $file = tempnam(sys_get_temp_dir(), 'factory-test');
Please login to merge, or discard this patch.