@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | return [ |
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 | return [ |
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\Framework\Providers; |
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\Framework\Console; |
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\Contracts\Channels; |
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\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 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Contracts\Channels; |
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 | |
@@ -32,7 +32,7 @@ discard block |
||
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 |
||
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 |