@@ -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 | |
@@ -22,14 +22,14 @@ discard block |
||
22 | 22 | |
23 | 23 | private function registerSessionManager(): void |
24 | 24 | { |
25 | - $this->app->singleton(SessionManager::class, function () { |
|
25 | + $this->app->singleton(SessionManager::class, function() { |
|
26 | 26 | return new SessionManager($this->app, resolve(Cache::class)); |
27 | 27 | }); |
28 | 28 | } |
29 | 29 | |
30 | 30 | private function registerIntentManager(): void |
31 | 31 | { |
32 | - $this->app->singleton(IntentManager::class, function () { |
|
32 | + $this->app->singleton(IntentManager::class, function() { |
|
33 | 33 | $intents = config('fondbot.conversation.intents'); |
34 | 34 | $fallbackIntent = config('fondbot.conversation.fallback_intent', FallbackIntent::class); |
35 | 35 |
@@ -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\Foundation\Providers; |
6 | 6 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | public function register(): void |
15 | 15 | { |
16 | - $this->app->singleton(Kernel::class, function () { |
|
16 | + $this->app->singleton(Kernel::class, function() { |
|
17 | 17 | return new Kernel(resolve(Container::class), resolve(Dispatcher::class)); |
18 | 18 | }); |
19 | 19 | } |