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