@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace unreal4u\TelegramAPI\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 unreal4u\TelegramAPI\Interfaces; |
| 6 | 6 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | $deferred = new Deferred(); |
| 23 | 23 | |
| 24 | - $promise->onResolve(function ($error = null, $result = null) use ($deferred) { |
|
| 24 | + $promise->onResolve(function($error = null, $result = null) use ($deferred) { |
|
| 25 | 25 | if ($error) { |
| 26 | 26 | $deferred->reject($error); |
| 27 | 27 | } else { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function processRequest(Request $request) |
| 90 | 90 | { |
| 91 | - return reactAdapt(\Amp\call(function () use ($request) { |
|
| 91 | + return reactAdapt(\Amp\call(function() use ($request) { |
|
| 92 | 92 | /** @var Response $response */ |
| 93 | 93 | $response = yield $this->client->request($request); |
| 94 | 94 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace unreal4u\TelegramAPI\Telegram\Methods; |
| 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 unreal4u\TelegramAPI\Telegram\Types; |
| 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 unreal4u\TelegramAPI\Telegram\Types\InputMessageContent; |
| 6 | 6 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | |
| 4 | 4 | namespace unreal4u\TelegramAPI\Telegram\Types\Custom; |
| 5 | 5 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace unreal4u\TelegramAPI\Telegram\Types\Inline\Query\Result; |
| 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 unreal4u\TelegramAPI\Telegram\Types\Inline\Query\Result\Cached; |
| 6 | 6 | |