@@ -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; |
| 6 | 6 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * |
| 97 | 97 | * @return Context|null |
| 98 | 98 | */ |
| 99 | - public function getContext(): ?Context |
|
| 99 | + public function getContext(): ? Context |
|
| 100 | 100 | { |
| 101 | 101 | return $this->context; |
| 102 | 102 | } |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | string $text, |
| 217 | 217 | Keyboard $keyboard = null, |
| 218 | 218 | string $driver = null |
| 219 | - ): ?OutgoingMessage { |
|
| 219 | + ): ? OutgoingMessage { |
|
| 220 | 220 | if ($driver !== null && !$this->driver instanceof $driver) { |
| 221 | 221 | return null; |
| 222 | 222 | } |
@@ -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 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @return Keyboard|null |
| 32 | 32 | */ |
| 33 | - public function getKeyboard(): ?Keyboard; |
|
| 33 | + public function getKeyboard(): ? Keyboard; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * Get the instance as an array. |