@@ -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 | } |
@@ -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\VkCommunity; |
| 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 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @return string|null |
| 32 | 32 | */ |
| 33 | - public function getName(): ?string |
|
| 33 | + public function getName(): ? string |
|
| 34 | 34 | { |
| 35 | 35 | return $this->payload['first_name'].' '.$this->payload['last_name']; |
| 36 | 36 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @return string|null |
| 42 | 42 | */ |
| 43 | - public function getUsername(): ?string |
|
| 43 | + public function getUsername(): ? string |
|
| 44 | 44 | { |
| 45 | 45 | return null; |
| 46 | 46 | } |
@@ -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 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * |
| 47 | 47 | * @return Keyboard|null |
| 48 | 48 | */ |
| 49 | - public function getKeyboard(): ?Keyboard |
|
| 49 | + public function getKeyboard(): ? Keyboard |
|
| 50 | 50 | { |
| 51 | 51 | return $this->keyboard; |
| 52 | 52 | } |