@@ -172,8 +172,7 @@ |
||
| 172 | 172 | private function getParentBoundary($curBoundary, MimePart $parent = null) |
| 173 | 173 | { |
| 174 | 174 | return $parent !== null ? |
| 175 | - $parent->getHeaderParameter('Content-Type', 'boundary') : |
|
| 176 | - $curBoundary; |
|
| 175 | + $parent->getHeaderParameter('Content-Type', 'boundary') : $curBoundary; |
|
| 177 | 176 | } |
| 178 | 177 | |
| 179 | 178 | /** |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * @param \ZBateson\MailMimeParser\Header\Part\HeaderPart $lastPart |
| 97 | 97 | * @return bool |
| 98 | 98 | */ |
| 99 | - private function addSpaceToRetParts(HeaderPart &$spacePart, array &$retParts, HeaderPart $nextPart, HeaderPart $lastPart = null) |
|
| 99 | + private function addSpaceToRetParts(HeaderPart & $spacePart, array &$retParts, HeaderPart $nextPart, HeaderPart $lastPart = null) |
|
| 100 | 100 | { |
| 101 | 101 | if ($this->shouldAddSpace($nextPart, $lastPart)) { |
| 102 | 102 | $retParts[] = $spacePart; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * @param int $curIndex |
| 119 | 119 | * @param \ZBateson\MailMimeParser\Header\Part\HeaderPart $spacePart |
| 120 | 120 | */ |
| 121 | - private function addSpaces(array $parts, array &$retParts, $curIndex, HeaderPart &$spacePart = null) |
|
| 121 | + private function addSpaces(array $parts, array &$retParts, $curIndex, HeaderPart & $spacePart = null) |
|
| 122 | 122 | { |
| 123 | 123 | if ($spacePart === null || $parts[$curIndex]->getValue() === '') { |
| 124 | 124 | return; |