@@ -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 | |
@@ -38,13 +38,13 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function register(): void |
40 | 40 | { |
41 | - $this->container->share('request', function () { |
|
41 | + $this->container->share('request', function() { |
|
42 | 42 | return ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES); |
43 | 43 | }); |
44 | 44 | $this->container->share('response', Response::class); |
45 | 45 | $this->container->share('emitter', SapiEmitter::class); |
46 | 46 | |
47 | - $this->container->share('router', function () { |
|
47 | + $this->container->share('router', function() { |
|
48 | 48 | $router = new RouteCollection($this->container); |
49 | 49 | |
50 | 50 | $controller = new Controller($this->container->get(Kernel::class)); |