@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation\Listeners; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Conversation; |
| 6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | private function registerSessionManager(): void |
| 25 | 25 | { |
| 26 | - $this->app->singleton(SessionManager::class, function () { |
|
| 26 | + $this->app->singleton(SessionManager::class, function() { |
|
| 27 | 27 | return new SessionManager( |
| 28 | 28 | $this->app, |
| 29 | 29 | $this->app->make(Store::class) |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | private function registerIntentManager(): void |
| 35 | 35 | { |
| 36 | - $this->app->singleton(IntentManager::class, function () { |
|
| 36 | + $this->app->singleton(IntentManager::class, function() { |
|
| 37 | 37 | $intents = array_get($this->config(), 'intents', []); |
| 38 | 38 | $fallbackIntent = array_get($this->config(), 'fallback_intent', FallbackIntent::class); |
| 39 | 39 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation\Commands; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation\Commands; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation\Commands; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation\Commands; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Foundation; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Events; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Channels; |
| 6 | 6 | |
@@ -16,10 +16,10 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public function register(): void |
| 18 | 18 | { |
| 19 | - $this->app->singleton(ChannelManager::class, function () { |
|
| 19 | + $this->app->singleton(ChannelManager::class, function() { |
|
| 20 | 20 | /** @var array $channels */ |
| 21 | 21 | $channels = collect($this->config()) |
| 22 | - ->mapWithKeys(function (array $parameters, string $name) { |
|
| 22 | + ->mapWithKeys(function(array $parameters, string $name) { |
|
| 23 | 23 | return [$name => $parameters]; |
| 24 | 24 | }) |
| 25 | 25 | ->toArray(); |