@@ -135,7 +135,7 @@ |
||
| 135 | 135 | { |
| 136 | 136 | $stream = Utils::streamFor( |
| 137 | 137 | $resource, |
| 138 | - [ 'metadata' => [ 'mmp-detached-stream' => ($attached !== true) ] ] |
|
| 138 | + ['metadata' => ['mmp-detached-stream' => ($attached !== true)]] |
|
| 139 | 139 | ); |
| 140 | 140 | if (!$stream->isSeekable()) { |
| 141 | 141 | $stream = new CachingStream($stream); |
@@ -158,7 +158,7 @@ discard block |
||
| 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 |
||
| 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)); |