Completed
Push — master ( 28d5b3...5a7b92 )
by Camilo
18s
created
src/InternalFunctionality/PostOptionsConstructor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
         foreach ($data as $id => $value) {
116 116
             if ($id === $fileKeyName) {
117 117
                 $data = new MultipartData(
118
-                    (string) $id,
118
+                    (string)$id,
119 119
                     stream_get_contents($stream),
120 120
                     pathinfo($filename, PATHINFO_BASENAME)
121 121
                 );
122 122
             } else {
123
-                $data = new MultipartData((string) $id, (string) $value);
123
+                $data = new MultipartData((string)$id, (string)$value);
124 124
             }
125 125
             
126 126
             $builder->append($data);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $body = $builder->buildAll();
130 130
         $array = [
131 131
             'headers' => [
132
-                'Content-Type' => 'multipart/form-data; boundary="' . $builder->getBoundary() . '"',
132
+                'Content-Type' => 'multipart/form-data; boundary="'.$builder->getBoundary().'"',
133 133
                 'Content-Length' => strlen($body)
134 134
             ],
135 135
             'body' => $body
Please login to merge, or discard this patch.