@@ -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 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $whoops->pushHandler(new PrettyPageHandler); |
42 | 42 | $whoops->register(); |
43 | 43 | |
44 | - $this->getContainer()->share('request', function () { |
|
44 | + $this->getContainer()->share('request', function() { |
|
45 | 45 | return ServerRequestFactory::fromGlobals( |
46 | 46 | $_SERVER, |
47 | 47 | $_GET, |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $this->getContainer()->share('response', Response::class); |
54 | 54 | $this->getContainer()->share('emitter', SapiEmitter::class); |
55 | 55 | |
56 | - $this->getContainer()->share('router', function () { |
|
56 | + $this->getContainer()->share('router', function() { |
|
57 | 57 | $router = new RouteCollection($this->getContainer()); |
58 | 58 | |
59 | 59 | $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\Channels; |
6 | 6 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | */ |
23 | 23 | public function register(): void |
24 | 24 | { |
25 | - $this->getContainer()->share(ChannelManager::class, function () { |
|
25 | + $this->getContainer()->share(ChannelManager::class, function() { |
|
26 | 26 | /** @var Config $config */ |
27 | 27 | $config = $this->getContainer()->get(Config::class); |
28 | 28 | /** @var array $channels */ |
@@ -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 |