src/phpDocumentor/Command/Helper/ConfigurationHelper.php
protected function splitCommaSeparatedValues($value)
    {
        if (!is_array($value) || (count($value) == 1) && is_string(current($value))) {
            $value = (array) $value;
            $value = explode(',', $value[0]);
        }

        return $value;
    }
protected function splitCommaSeparatedValues($value)
    {
        if (!is_array($value) || (count($value) == 1) && is_string(current($value))) {
            $value = (array) $value;
            $value = explode(',', $value[0]);
        }

        return $value;
    }
protected function splitCommaSeparatedValues ( $ value ) { if ( ! is_array ( $ value ) || ( count ( $ value ) == 1 ) && is_string ( current ( $ value ) ) ) { $ value = ( array ) $ value ; $ value = explode ( ',' , $ value [ 0 ] ) ; } return $ value ; }
Split comma separated values.

@param mixed $value

@return mixed
Split comma separated values .