public static function concat(array $array, $separator = ' ')
    {
        $result = '';

        foreach ($array as $string) {
            if (is_string($string)) {
                $result .= $string;
            }
        }

        return $result;
    }