private function finalizeParameterParts(ArrayObject $combined)
    {
        foreach ($combined as $key => $part) {
            if ($part instanceof SplitParameterToken) {
                $combined[$key] = $this->partFactory->newParameterPart(
                    $part->getName(),
                    $part->getValue(),
                    $part->getLanguage()
                );
            }
        }
        return $this->filterIgnoredSpaces($combined->getArrayCopy());
    }
private function finalizeParameterParts(ArrayObject $combined)
    {
        foreach ($combined as $key => $part) {
            if ($part instanceof SplitParameterToken) {
                $combined[$key] = $this->partFactory->newParameterPart(
                    $part->getName(),
                    $part->getValue(),
                    $part->getLanguage()
                );
            }
        }
        return $this->filterIgnoredSpaces($combined->getArrayCopy());
    }
private function finalizeParameterParts ( ArrayObject $ combined ) { foreach ( $ combined as $ key => $ part ) { if ( $ part instanceof SplitParameterToken ) { $ combined [ $ key ] = $ this -> partFactory -> newParameterPart ( $ part -> getName ( ) , $ part -> getValue ( ) , $ part -> getLanguage ( ) ) ; } } return $ this -> filterIgnoredSpaces ( $ combined -> getArrayCopy ( ) ) ; }
Loops over parts in the passed array, creating ParameterParts out of any
parsed SplitParameterTokens, replacing them in the array.

The method then calls filterIgnoreSpaces to filter out empty elements in
the combined array and returns an array.

@param ArrayObject $combined
@return HeaderPart[]|array
Loops over parts in the passed array creating ParameterParts out of any parsed SplitParameterTokens replacing them in the array .