@@ -42,13 +42,13 @@ |
||
| 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 | ); |
@@ -41,11 +41,11 @@ |
||
| 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() |
@@ -33,15 +33,15 @@ |
||
| 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 | /** |
@@ -78,7 +78,7 @@ |
||
| 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 | } |