Completed
Push — master ( 2572ac...146759 )
by Camilo
14s queued 12s
created
src/HttpClientRequestHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,12 +64,12 @@  discard block
 block discarded – undo
64 64
         $deferred = new Deferred();
65 65
 
66 66
         $receivedData = '';
67
-        $request->on('response', static function (Response $response) use ($deferred, &$receivedData) {
68
-            $response->on('data', static function ($chunk) use (&$receivedData) {
67
+        $request->on('response', static function(Response $response) use ($deferred, &$receivedData) {
68
+            $response->on('data', static function($chunk) use (&$receivedData) {
69 69
                 $receivedData .= $chunk;
70 70
             });
71 71
 
72
-            $response->on('end', static function () use (&$receivedData, $deferred, $response) {
72
+            $response->on('end', static function() use (&$receivedData, $deferred, $response) {
73 73
                 try {
74 74
                     $endResponse = new TelegramResponse($receivedData, $response->getHeaders());
75 75
                     $deferred->resolve($endResponse);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             });
81 81
         });
82 82
 
83
-        $request->on('error', static function (Exception $e) use ($deferred) {
83
+        $request->on('error', static function(Exception $e) use ($deferred) {
84 84
             $deferred->reject(new ClientException($e->getMessage(), $e->getCode(), $e));
85 85
         });
86 86
 
Please login to merge, or discard this patch.
src/Telegram/Types/ChatPermissions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Telegram/Methods/SetChatPermissions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.