Completed
Push — master ( f1c36b...d5e8bc )
by Vladimir
02:13
created
src/Foundation/Providers/ChannelServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $manager->register(
34 34
             collect($this->channels())
35
-                ->mapWithKeys(function (array $parameters, string $name) {
35
+                ->mapWithKeys(function(array $parameters, string $name) {
36 36
                     return [$name => $parameters];
37 37
                 })
38 38
                 ->toArray()
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     private function registerManager(): void
53 53
     {
54
-        $this->app->singleton(Manager::class, function () {
54
+        $this->app->singleton(Manager::class, function() {
55 55
             return new ChannelManager($this->app);
56 56
         });
57 57
 
Please login to merge, or discard this patch.
src/Foundation/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         Route::get('/', 'FondBot\Foundation\Controller@index');
17 17
 
18
-        Route::group(['middleware' => 'fondbot.webhook'], function () {
18
+        Route::group(['middleware' => 'fondbot.webhook'], function() {
19 19
             Route::get('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook');
20 20
             Route::post('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook');
21 21
         });
Please login to merge, or discard this patch.
src/Channels/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function initialize(Collection $parameters): DriverContract
33 33
     {
34
-        $parameters->each(function ($value, $key) {
34
+        $parameters->each(function($value, $key) {
35 35
             $this->$key = $value;
36 36
         });
37 37
 
Please login to merge, or discard this patch.