@@ -19,17 +19,17 @@ |
||
19 | 19 | |
20 | 20 | public function register() |
21 | 21 | { |
22 | - $this->container->share(ResponseInterface::class, function () { |
|
22 | + $this->container->share(ResponseInterface::class, function() { |
|
23 | 23 | return new \Zend\Diactoros\Response; |
24 | 24 | }); |
25 | 25 | |
26 | - $this->container->share(ServerRequestInterface::class, function () { |
|
26 | + $this->container->share(ServerRequestInterface::class, function() { |
|
27 | 27 | return ServerRequestFactory::fromGlobals( |
28 | 28 | $_SERVER, $_GET, $_POST, $_COOKIE, $_FILES |
29 | 29 | ); |
30 | 30 | }); |
31 | 31 | |
32 | - $this->container->share(EmitterInterface::class, function () { |
|
32 | + $this->container->share(EmitterInterface::class, function() { |
|
33 | 33 | return new SapiEmitter; |
34 | 34 | }); |
35 | 35 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function register() |
22 | 22 | { |
23 | - $this->container->share('route', function () { |
|
23 | + $this->container->share('route', function() { |
|
24 | 24 | return new RouteCollection($this->container); |
25 | 25 | }); |
26 | 26 | } |