@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Cache; |
| 6 | 6 | |
@@ -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 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public function register(): void |
| 37 | 37 | { |
| 38 | - $this->getContainer()->share('request', function () { |
|
| 38 | + $this->getContainer()->share('request', function() { |
|
| 39 | 39 | return ServerRequestFactory::fromGlobals( |
| 40 | 40 | $_SERVER, |
| 41 | 41 | $_GET, |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $this->getContainer()->share('response', Response::class); |
| 48 | 48 | $this->getContainer()->share('emitter', SapiEmitter::class); |
| 49 | 49 | |
| 50 | - $this->getContainer()->share('router', function () { |
|
| 50 | + $this->getContainer()->share('router', function() { |
|
| 51 | 51 | $router = new RouteCollection($this->getContainer()); |
| 52 | 52 | |
| 53 | 53 | $controller = new Controller($this->getContainer()->get(Kernel::class)); |
@@ -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 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function boot(): void |
| 29 | 29 | { |
| 30 | - $this->getContainer()->share(LoggerInterface::class, function () { |
|
| 30 | + $this->getContainer()->share(LoggerInterface::class, function() { |
|
| 31 | 31 | $logger = new Logger('FondBot'); |
| 32 | 32 | $logger->pushHandler(new StreamHandler( |
| 33 | 33 | $this->getContainer()->get('resources_path').'/logs/app.log' |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | $whoops = new Run; |
| 40 | 40 | $whoops->pushHandler(new PrettyPageHandler); |
| 41 | - $whoops->pushHandler(function (Exception $exception, $inspector, $run) { |
|
| 41 | + $whoops->pushHandler(function(Exception $exception, $inspector, $run) { |
|
| 42 | 42 | /** @var LoggerInterface $logger */ |
| 43 | 43 | $logger = $this->getContainer()->get(LoggerInterface::class); |
| 44 | 44 | |