@@ -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 | |
@@ -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\Toolbelt\Commands; |
| 6 | 6 | |
@@ -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\Toolbelt; |
| 6 | 6 | |
@@ -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\Toolbelt\Commands; |
| 6 | 6 | |
@@ -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\Toolbelt; |
| 6 | 6 | |
@@ -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\Toolbelt; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | if (!function_exists('env')) { |
| 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\Toolbelt\Commands; |
| 6 | 6 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | public function handle(): void |
| 20 | 20 | { |
| 21 | 21 | $drivers = collect($this->kernel->getDrivers()) |
| 22 | - ->map(function ($item) { |
|
| 22 | + ->map(function($item) { |
|
| 23 | 23 | return [$item['name'], $item['package'], $item['official'] ? '✅' : '❌']; |
| 24 | 24 | }) |
| 25 | 25 | ->toArray(); |