@@ -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; |
6 | 6 |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Start conversation. |
59 | 59 | * |
60 | - * @param Conversable|mixed $conversable |
|
60 | + * @param Conversable $conversable |
|
61 | 61 | */ |
62 | 62 | public function converse(Conversable $conversable): void |
63 | 63 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Restart intent or interaction. |
93 | 93 | * |
94 | - * @param Conversable|mixed $conversable |
|
94 | + * @param Conversable $conversable |
|
95 | 95 | */ |
96 | 96 | public function restart(Conversable $conversable): void |
97 | 97 | { |
@@ -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\Channels\Exceptions; |
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 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return TemplateCompiler|null |
50 | 50 | */ |
51 | - abstract public function getTemplateCompiler(): ?TemplateCompiler; |
|
51 | + abstract public function getTemplateCompiler(): ? TemplateCompiler; |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Get command handler instance. |
@@ -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\Templates\Keyboard; |
6 | 6 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * |
16 | 16 | * @return string |
17 | 17 | */ |
18 | - public function getLabel(): ?string |
|
18 | + public function getLabel(): ? string |
|
19 | 19 | { |
20 | 20 | return $this->label; |
21 | 21 | } |
@@ -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\Commands; |
6 | 6 | |
@@ -49,12 +49,12 @@ discard block |
||
49 | 49 | return $this->recipient; |
50 | 50 | } |
51 | 51 | |
52 | - public function getText(): ?string |
|
52 | + public function getText(): ? string |
|
53 | 53 | { |
54 | 54 | return $this->text; |
55 | 55 | } |
56 | 56 | |
57 | - public function getTemplate(): ?Template |
|
57 | + public function getTemplate(): ? Template |
|
58 | 58 | { |
59 | 59 | return $this->template; |
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\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\Drivers; |
6 | 6 |