Completed
Push — master ( 2dba39...8adc43 )
by Vladimir
06:14 queued 04:07
created
src/Foundation/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function findDriver(string $name): ?array
41 41
     {
42
-        return $this->getDrivers()->first(function ($item) use ($name) {
42
+        return $this->getDrivers()->first(function($item) use ($name) {
43 43
             return $item['name'] === $name;
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Console/InstallDriverCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         // Install driver
38 38
         $this->info('Installing driver...');
39 39
 
40
-        $result = $composer->install($driver['package'], function ($_, $line) use (&$output) {
40
+        $result = $composer->install($driver['package'], function($_, $line) use (&$output) {
41 41
             $output .= $line;
42 42
         });
43 43
 
Please login to merge, or discard this patch.
src/Console/ListDriversCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $availableDrivers = $this->api->getDrivers();
33 33
 
34 34
             $rows = collect($availableDrivers)
35
-                ->transform(function ($item) use ($installedDrivers) {
35
+                ->transform(function($item) use ($installedDrivers) {
36 36
                     return [
37 37
                         $item['name'],
38 38
                         $item['package'],
Please login to merge, or discard this patch.
src/FondBotServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             'fondbot'
36 36
         );
37 37
 
38
-        $this->app->singleton(FondBot::class, function () {
38
+        $this->app->singleton(FondBot::class, function() {
39 39
             return new FondBot(config('fondbot'));
40 40
         });
41 41
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         Route::namespace('FondBot\Foundation\Http\Controllers')
76 76
             ->as('fondbot.')
77 77
             ->prefix('fondbot')
78
-            ->group(function () {
78
+            ->group(function() {
79 79
                 $this->loadRoutesFrom(__DIR__.'/../routes/webhooks.php');
80 80
             });
81 81
     }
Please login to merge, or discard this patch.
src/Console/ListIntentsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function handle(): void
25 25
     {
26 26
         $rows = collect($this->app->intents())
27
-            ->transform(function ($item) {
27
+            ->transform(function($item) {
28 28
                 return [$item];
29 29
             })
30 30
             ->toArray();
Please login to merge, or discard this patch.
src/Console/ListChannelsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function handle(): void
26 26
     {
27 27
         $rows = collect($this->app->channels())
28
-            ->map(function (Channel $channel) {
28
+            ->map(function(Channel $channel) {
29 29
                 return [
30 30
                     $channel->getName(),
31 31
                     $channel->getDriver()->getName(),
Please login to merge, or discard this patch.
src/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function initialize(Collection $parameters): DriverContract
36 36
     {
37
-        $parameters->each(function ($value, $key) {
37
+        $parameters->each(function($value, $key) {
38 38
             $key = Str::camel($key);
39 39
             $this->$key = $value;
40 40
         });
Please login to merge, or discard this patch.
src/FondBot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     private function registerChannels(array $channels): void
168 168
     {
169 169
         $this->channels = collect($channels)
170
-            ->mapWithKeys(function (array $parameters, string $name) {
170
+            ->mapWithKeys(function(array $parameters, string $name) {
171 171
                 $driverCallback = $this->drivers[$parameters['driver']];
172 172
 
173 173
                 /** @var Driver $driver */
Please login to merge, or discard this patch.