Completed
Pull Request — master (#154)
by
unknown
06:46
created
src/Telegram/Methods/SetChatAdministratorCustomTitle.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.
src/Telegram/Types/KeyboardButtonPollType.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/Close.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.
src/Telegram/Methods/LogOut.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.
src/Telegram/Types/ChatLocation.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/UnpinAllChatMessages.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.
src/Telegram/Types/ProximityAlertTriggered.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/HttpClientRequestHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,14 +84,14 @@
 block discarded – undo
84 84
     {
85 85
         return $request->then(
86 86
             // Promise fulfilled
87
-            static function (ResponseInterface $response) {
87
+            static function(ResponseInterface $response) {
88 88
                 return new TelegramResponse(
89 89
                     $response->getBody()->getContents(),
90 90
                     $response->getHeaders()
91 91
                 );
92 92
             },
93 93
             // Promise rejected
94
-            static function (Exception $e) {
94
+            static function(Exception $e) {
95 95
                 if ($e instanceof ResponseException) {
96 96
                     throw ClientException::fromResponseException($e);
97 97
                 }
Please login to merge, or discard this patch.
src/InternalFunctionality/PostOptionsConstructor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             $this->formType = 'multipart/form-data';
99 99
             foreach ($method->getLocalFiles() as $identifier => $localFile) {
100 100
                 if ($localFile instanceof InputFile) {
101
-                    $return[$identifier . '~' . $this->numberOfLocalFiles] = [
101
+                    $return[$identifier.'~'.$this->numberOfLocalFiles] = [
102 102
                         'id' => $this->numberOfLocalFiles,
103 103
                         'filename' => basename($localFile->path),
104 104
                         'stream' => $localFile->getStream(),
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         $body = $builder->buildAll();
125 125
         $completeRequest = [
126 126
             'headers' => [
127
-                'Content-Type' => 'multipart/form-data; boundary="' . $builder->getBoundary() . '"',
127
+                'Content-Type' => 'multipart/form-data; boundary="'.$builder->getBoundary().'"',
128 128
                 'Content-Length' => strlen($body)
129 129
             ],
130 130
             'body' => $body
Please login to merge, or discard this patch.