@@ -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\Toolbelt; |
6 | 6 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | public function handle(Manager $manager): void |
16 | 16 | { |
17 | 17 | $rows = collect($manager->getIntents()) |
18 | - ->transform(function ($item) { |
|
18 | + ->transform(function($item) { |
|
19 | 19 | return [$item]; |
20 | 20 | }) |
21 | 21 | ->toArray(); |
@@ -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\Contracts\Conversation; |
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\Foundation\Providers; |
6 | 6 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | private function registerManager(): void |
84 | 84 | { |
85 | - $this->app->singleton('conversation', function () { |
|
85 | + $this->app->singleton('conversation', function() { |
|
86 | 86 | return new ConversationManager; |
87 | 87 | }); |
88 | 88 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | private function registerSessionManager(): void |
93 | 93 | { |
94 | - $this->app->singleton(SessionManager::class, function () { |
|
94 | + $this->app->singleton(SessionManager::class, function() { |
|
95 | 95 | return new SessionManager($this->app, resolve(Cache::class)); |
96 | 96 | }); |
97 | 97 | } |