@@ -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\Contracts\Channels; |
6 | 6 | |
@@ -18,12 +18,12 @@ discard block |
||
18 | 18 | * |
19 | 19 | * @return string|null |
20 | 20 | */ |
21 | - public function getName(): ?string; |
|
21 | + public function getName(): ? string; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * Username. |
25 | 25 | * |
26 | 26 | * @return string|null |
27 | 27 | */ |
28 | - public function getUsername(): ?string; |
|
28 | + public function getUsername(): ? string; |
|
29 | 29 | } |
@@ -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\Message; |
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\Extensions; |
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\Contracts\Channels; |
6 | 6 | |
@@ -14,14 +14,14 @@ discard block |
||
14 | 14 | * |
15 | 15 | * @return string|null |
16 | 16 | */ |
17 | - public function getText(): ?string; |
|
17 | + public function getText(): ? string; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Get location. |
21 | 21 | * |
22 | 22 | * @return Location|null |
23 | 23 | */ |
24 | - public function getLocation(): ?Location; |
|
24 | + public function getLocation(): ? Location; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Determine if message has attachment. |
@@ -35,5 +35,5 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return Attachment|null |
37 | 37 | */ |
38 | - public function getAttachment(): ?Attachment; |
|
38 | + public function getAttachment(): ? Attachment; |
|
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\Contracts\Container; |
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\Filesystem; |
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; |
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 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Channels\VkCommunity; |
6 | 6 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @return string|null |
24 | 24 | */ |
25 | - public function getText(): ?string |
|
25 | + public function getText(): ? string |
|
26 | 26 | { |
27 | 27 | return $this->payload['body'] ?? null; |
28 | 28 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @return Location|null |
34 | 34 | */ |
35 | - public function getLocation(): ?Location |
|
35 | + public function getLocation(): ? Location |
|
36 | 36 | { |
37 | 37 | return null; |
38 | 38 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @return Attachment|null |
54 | 54 | */ |
55 | - public function getAttachment(): ?Attachment |
|
55 | + public function getAttachment(): ? Attachment |
|
56 | 56 | { |
57 | 57 | return null; |
58 | 58 | } |