Passed
Push — master ( 76e439...0d9218 )
by Thomas
02:18
created
src/Factory/SlimFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@
 block discarded – undo
42 42
     /**
43 43
      * @inheritdoc
44 44
      */
45
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
45
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
46 46
     {
47 47
         return new Request(
48 48
             $method,
49 49
             is_string($uri) ? $this->createUri($uri) : $uri,
50 50
             new Headers(),
51
-            [],
51
+            [ ],
52 52
             $serverParams,
53 53
             $this->createStream()
54 54
         );
Please login to merge, or discard this patch.
src/Factory/DiactorosFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
     /**
42 42
      * @inheritdoc
43 43
      */
44
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
44
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
45 45
     {
46 46
         return new ServerRequest(
47 47
             $serverParams,
48
-            [],
48
+            [ ],
49 49
             $uri,
50 50
             $method,
51 51
             $this->createStream()
Please login to merge, or discard this patch.
src/Factory/GuzzleFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,15 +33,15 @@
 block discarded – undo
33 33
      */
34 34
     public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface
35 35
     {
36
-        return new Response($code, [], null, '1.1', $reasonPhrase);
36
+        return new Response($code, [ ], null, '1.1', $reasonPhrase);
37 37
     }
38 38
 
39 39
     /**
40 40
      * @inheritdoc
41 41
      */
42
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
42
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
43 43
     {
44
-        return new ServerRequest($method, $uri, [], null, '1.1', $serverParams);
44
+        return new ServerRequest($method, $uri, [ ], null, '1.1', $serverParams);
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
src/HttpFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     /**
79 79
      * @inheritdoc
80 80
      */
81
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
81
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
82 82
     {
83 83
         return $this->getFactory()->createServerRequest($method, $uri, $serverParams);
84 84
     }
Please login to merge, or discard this patch.
src/Factory/NyholmFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * @inheritdoc
45 45
      */
46
-    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
46
+    public function createServerRequest(string $method, $uri, array $serverParams = [ ]): ServerRequestInterface
47 47
     {
48 48
         return $this->factory->createServerRequest($method, $uri, $serverParams);
49 49
     }
Please login to merge, or discard this patch.