VersionPress\Storages\Serialization\IniSerializer::eolWorkaround_removePlaceholders PHP Method

eolWorkaround_removePlaceholders() private static method

private static eolWorkaround_removePlaceholders ( $deserializedArray ) : array
$deserializedArray
return array
    private static function eolWorkaround_removePlaceholders($deserializedArray)
    {
        foreach ($deserializedArray as $key => $value) {
            if (is_array($value)) {
                $deserializedArray[$key] = self::eolWorkaround_removePlaceholders($value);
            } else {
                if (is_string($value)) {
                    $deserializedArray[$key] = self::getReplacedEolString($value, "placeholdersToChars");
                }
            }
        }
        return $deserializedArray;
    }