public static function convertDist($value)
    {
        if (\is_array($value)) {
            $data = (array) $value;
            $value = array();

            foreach ($data as $type => $url) {
                if (\is_string($url)) {
                    self::convertDistEntry($value, $type, $url);
                }
            }
        }

        return $value;
    }
public static function convertDist($value)
    {
        if (\is_array($value)) {
            $data = (array) $value;
            $value = array();

            foreach ($data as $type => $url) {
                if (\is_string($url)) {
                    self::convertDistEntry($value, $type, $url);
                }
            }
        }

        return $value;
    }
public static function convertDist ( $ value ) { if ( \ is_array ( $ value ) ) { $ data = ( array ) $ value ; $ value = array ( ) ; foreach ( $ data as $ type => $ url ) { if ( \ is_string ( $ url ) ) { self :: convertDistEntry ( $ value , $ type , $ url ) ; } } } return $ value ; }
Convert the dist section.

@param null|string $value The current value

@return array
Convert the dist section .