@@ -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 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function boot(): void |
34 | 34 | { |
35 | - $this->getContainer()->share(LoggerInterface::class, function () { |
|
35 | + $this->getContainer()->share(LoggerInterface::class, function() { |
|
36 | 36 | $logger = new Logger('FondBot'); |
37 | 37 | $logger->pushHandler(new StreamHandler( |
38 | 38 | $this->getContainer()->get('resources_path').'/logs/app.log' |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | $whoops = new Run; |
45 | 45 | $whoops->pushHandler(new PrettyPageHandler); |
46 | - $whoops->pushHandler(function (Throwable $exception) { |
|
46 | + $whoops->pushHandler(function(Throwable $exception) { |
|
47 | 47 | /** @var LoggerInterface $logger */ |
48 | 48 | $logger = $this->getContainer()->get(LoggerInterface::class); |
49 | 49 |
@@ -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\Http; |
6 | 6 |