@@ -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\Filesystem; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function register(): void |
32 | 32 | { |
33 | - $this->getContainer()->share(Filesystem::class, function () { |
|
33 | + $this->getContainer()->share(Filesystem::class, function() { |
|
34 | 34 | return new Filesystem($this->adapter()); |
35 | 35 | }); |
36 | 36 | } |
@@ -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 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function register(): void |
48 | 48 | { |
49 | - $this->getContainer()->share(Config::class, function () { |
|
49 | + $this->getContainer()->share(Config::class, function() { |
|
50 | 50 | $dotenv = new Dotenv($this->basePath()); |
51 | 51 | |
52 | 52 | return new Config($dotenv->load()); |
@@ -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\Conversation; |
6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public function register(): void |
37 | 37 | { |
38 | - $this->getContainer()->share(IntentManager::class, function () { |
|
38 | + $this->getContainer()->share(IntentManager::class, function() { |
|
39 | 39 | $manager = new IntentManager(); |
40 | 40 | |
41 | 41 | foreach ($this->intents() as $intent) { |
@@ -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 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function register(): void |
32 | 32 | { |
33 | - $this->getContainer()->share(ChannelManager::class, function () { |
|
33 | + $this->getContainer()->share(ChannelManager::class, function() { |
|
34 | 34 | $manager = new ChannelManager; |
35 | 35 | |
36 | 36 | foreach ($this->channels() as $name => $parameters) { |