@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * @param HeaderPart[] $parts |
86 | 86 | * @param HeaderPart[] $retParts |
87 | 87 | */ |
88 | - private function addSpaceToRetParts(array $parts, array &$retParts, int $curIndex, HeaderPart &$spacePart, HeaderPart $lastPart) : self |
|
88 | + private function addSpaceToRetParts(array $parts, array &$retParts, int $curIndex, HeaderPart & $spacePart, HeaderPart $lastPart) : self |
|
89 | 89 | { |
90 | 90 | $nextPart = $parts[$curIndex]; |
91 | 91 | if ($this->shouldAddSpace($nextPart, $lastPart)) { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @param HeaderPart[] $parts |
106 | 106 | * @param HeaderPart[] $retParts |
107 | 107 | */ |
108 | - private function addSpaces(array $parts, array &$retParts, int $curIndex, ?HeaderPart &$spacePart = null) : self |
|
108 | + private function addSpaces(array $parts, array &$retParts, int $curIndex, ?HeaderPart & $spacePart = null) : self |
|
109 | 109 | { |
110 | 110 | $lastPart = \end($retParts); |
111 | 111 | if ($spacePart !== null && $curIndex < \count($parts) && $parts[$curIndex]->getValue() !== '' && $lastPart !== false) { |