@@ -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 |
@@ -83,14 +83,14 @@ |
||
83 | 83 | { |
84 | 84 | return $request->then( |
85 | 85 | // Promise fulfilled |
86 | - static function (ResponseInterface $response) { |
|
86 | + static function(ResponseInterface $response) { |
|
87 | 87 | return new TelegramResponse( |
88 | 88 | $response->getBody()->getContents(), |
89 | 89 | $response->getHeaders() |
90 | 90 | ); |
91 | 91 | }, |
92 | 92 | // Promise rejected |
93 | - static function (Exception $e) { |
|
93 | + static function(Exception $e) { |
|
94 | 94 | throw new ClientException($e->getMessage(), $e->getCode(), $e); |
95 | 95 | } |
96 | 96 | ); |
@@ -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\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\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 |