Completed
Push — master ( 06f997...84d5d5 )
by Vladimir
03:43
created
src/FondBot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
     {
103 103
         Route::middleware(InitializeKernel::class)
104 104
             ->namespace('FondBot\Foundation\Http\Controllers')
105
-            ->group(function () {
106
-                Route::group(['middleware' => 'fondbot.webhook'], function () {
105
+            ->group(function() {
106
+                Route::group(['middleware' => 'fondbot.webhook'], function() {
107 107
                     Route::get('/fondbot/{channel}/{secret?}', 'WebhookController@store')->name('fondbot.webhook');
108 108
                     Route::post('/fondbot/{channel}/{secret?}', 'WebhookController@store')->name('fondbot.webhook');
109 109
                 });
Please login to merge, or discard this patch.
src/FondBotServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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[Cache::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.