@@ -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 |