|
@@ -30,7 +30,7 @@ discard block |
|
|
block discarded – undo |
|
30
|
30
|
|
|
31
|
31
|
protected function registerConversationManager(): void |
|
32
|
32
|
{ |
|
33
|
|
- $this->app->singleton(ConversationManagerContract::class, function () { |
|
|
33
|
+ $this->app->singleton(ConversationManagerContract::class, function() { |
|
34
|
34
|
return new ConversationManager($this->app, $this->app[CacheRepository::class]); |
|
35
|
35
|
}); |
|
36
|
36
|
|
|
@@ -39,8 +39,8 @@ discard block |
|
|
block discarded – undo |
|
39
|
39
|
|
|
40
|
40
|
protected function registerChannelManager(): void |
|
41
|
41
|
{ |
|
42
|
|
- $this->app->singleton(ChannelManagerContract::class, function () { |
|
43
|
|
- $channels = collect(config('fondbot.channels'))->mapWithKeys(function (array $parameters, string $name) { |
|
|
42
|
+ $this->app->singleton(ChannelManagerContract::class, function() { |
|
|
43
|
+ $channels = collect(config('fondbot.channels'))->mapWithKeys(function(array $parameters, string $name) { |
|
44
|
44
|
return [$name => $parameters]; |
|
45
|
45
|
}); |
|
46
|
46
|
|
Please login to merge, or discard this patch.