@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | protected function registerConversationManager(): void |
38 | 38 | { |
39 | - $this->app->singleton(ConversationManagerContract::class, function () { |
|
39 | + $this->app->singleton(ConversationManagerContract::class, function() { |
|
40 | 40 | return new ConversationManager($this->app, $this->app[CacheRepository::class]); |
41 | 41 | }); |
42 | 42 | |
@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | */ |
49 | 49 | protected function registerChannelManager(): void |
50 | 50 | { |
51 | - $this->app->singleton(ChannelManagerContract::class, function () { |
|
52 | - $channels = collect(config('fondbot.channels'))->mapWithKeys(function (array $parameters, string $name) { |
|
51 | + $this->app->singleton(ChannelManagerContract::class, function() { |
|
52 | + $channels = collect(config('fondbot.channels'))->mapWithKeys(function(array $parameters, string $name) { |
|
53 | 53 | return [$name => $parameters]; |
54 | 54 | }); |
55 | 55 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | ->namespace('FondBot\Foundation\Http\Controllers') |
80 | 80 | ->as('fondbot.') |
81 | 81 | ->prefix('fondbot') |
82 | - ->group(function () { |
|
82 | + ->group(function() { |
|
83 | 83 | $this->loadRoutesFrom(__DIR__.'/../routes/webhooks.php'); |
84 | 84 | }); |
85 | 85 | } |