@@ -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\Events; |
6 | 6 | |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | return $this->location; |
34 | 34 | } |
35 | 35 | |
36 | - public function getAttachment(): ?Attachment |
|
36 | + public function getAttachment(): ? Attachment |
|
37 | 37 | { |
38 | 38 | return $this->attachment; |
39 | 39 | } |
40 | 40 | |
41 | - public function getData(): ?string |
|
41 | + public function getData(): ? string |
|
42 | 42 | { |
43 | 43 | return $this->data; |
44 | 44 | } |
@@ -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 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @return Intent|null |
33 | 33 | */ |
34 | - public function find(MessageReceived $message): ?Intent |
|
34 | + public function find(MessageReceived $message): ? Intent |
|
35 | 35 | { |
36 | 36 | foreach ($this->intents as $intent) { |
37 | 37 | foreach ($intent->activators() as $activator) { |
@@ -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; |
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\Middleware; |
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\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 |