@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Application; |
| 6 | 6 | |
@@ -40,13 +40,13 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | public function register(): void |
| 42 | 42 | { |
| 43 | - $this->container->share('request', function () { |
|
| 43 | + $this->container->share('request', function() { |
|
| 44 | 44 | return ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES); |
| 45 | 45 | }); |
| 46 | 46 | $this->container->share('response', Response::class); |
| 47 | 47 | $this->container->share('emitter', SapiEmitter::class); |
| 48 | 48 | |
| 49 | - $this->container->share('router', function () { |
|
| 49 | + $this->container->share('router', function() { |
|
| 50 | 50 | $router = new RouteCollection($this->container); |
| 51 | 51 | |
| 52 | 52 | $this->routes($router); |