Completed
Pull Request — master (#135)
by
unknown
07:38
created
src/Telegram/Types/Passport/PassportData.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\Passport;
6 6
 
Please login to merge, or discard this patch.
src/Telegram/Types/Passport/EncryptedCredentials.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\Passport;
6 6
 
Please login to merge, or discard this patch.
src/Telegram/Types/Passport/PassportElementError.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\Passport;
6 6
 
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
                 // If we are about to send a file, we must use the multipart/form-data way
99 99
                 $this->formType = 'multipart/form-data';
100 100
                 foreach ($method->getLocalFiles() as $identifier => $localFile) {
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.
src/Exceptions/InvalidMediaType.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\Exceptions;
6 6
 
Please login to merge, or discard this patch.
src/Telegram/Methods/SendMediaGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
             if (is_readable($fileLocation->media)) {
107 107
                 $this->localFiles[basename($fileLocation->media)] = new InputFile($fileLocation->media);
108
-                $fileLocation->media = 'attach://' . basename($fileLocation->media);
108
+                $fileLocation->media = 'attach://'.basename($fileLocation->media);
109 109
             }
110 110
         }
111 111
 
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.
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.