@@ -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\Conversation\Traits; |
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 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @return Intent|Conversable|null |
73 | 73 | */ |
74 | - public function getIntent(): ?Intent |
|
74 | + public function getIntent(): ? Intent |
|
75 | 75 | { |
76 | 76 | return $this->intent; |
77 | 77 | } |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @return Interaction|Conversable|null |
93 | 93 | */ |
94 | - public function getInteraction(): ?Interaction |
|
94 | + public function getInteraction(): ? Interaction |
|
95 | 95 | { |
96 | 96 | return $this->interaction; |
97 | 97 | } |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * |
102 | 102 | * @param Interaction|null $interaction |
103 | 103 | */ |
104 | - public function setInteraction(?Interaction $interaction): void |
|
104 | + public function setInteraction(? Interaction $interaction) : void |
|
105 | 105 | { |
106 | 106 | $this->interaction = $interaction; |
107 | 107 | } |
@@ -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\Conversation\Buttons; |
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\Conversation\Buttons; |
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\Conversation\Buttons; |
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\Drivers; |
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\Drivers; |
6 | 6 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | private function validateParameters(Channel $channel, Driver $driver): void |
56 | 56 | { |
57 | - collect($driver->getConfig())->each(function (string $parameter) use ($channel) { |
|
57 | + collect($driver->getConfig())->each(function(string $parameter) use ($channel) { |
|
58 | 58 | if (!array_key_exists($parameter, $channel->getParameters())) { |
59 | 59 | throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.'); |
60 | 60 | } |
@@ -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\Channels; |
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\Conversation\Activators; |
6 | 6 |