|
@@ -158,7 +158,7 @@ discard block |
|
|
block discarded – undo |
|
158
|
158
|
$boundary = $part->getHeaderParameter(HeaderConsts::CONTENT_TYPE, 'boundary'); |
|
159
|
159
|
if ($boundary === null) { |
|
160
|
160
|
return array_map( |
|
161
|
|
- function ($child) { |
|
|
161
|
+ function($child) { |
|
162
|
162
|
return $child->getStream(); |
|
163
|
163
|
}, |
|
164
|
164
|
$part->getChildParts() |
|
@@ -188,7 +188,7 @@ discard block |
|
|
block discarded – undo |
|
188
|
188
|
$content = Psr7\Utils::streamFor(); |
|
189
|
189
|
$this->writePartContentTo($content); |
|
190
|
190
|
$content->rewind(); |
|
191
|
|
- $streams = [ $this->streamFactory->newHeaderStream($this->part), $content ]; |
|
|
191
|
+ $streams = [$this->streamFactory->newHeaderStream($this->part), $content]; |
|
192
|
192
|
|
|
193
|
193
|
if ($this->part instanceof IMimePart && $this->part->getChildCount() > 0) { |
|
194
|
194
|
$streams = array_merge($streams, $this->getBoundaryAndChildStreams($this->part)); |
Please login to merge, or discard this patch.