protected static function standardizeVersion($version)
    {
        if (\is_string($version)) {
            $version = explode('.', $version);
        }

        while (\count($version) < 3) {
            $version[] = '0';
        }

        return implode('.', $version);
    }
protected static function standardizeVersion($version)
    {
        if (\is_string($version)) {
            $version = explode('.', $version);
        }

        while (\count($version) < 3) {
            $version[] = '0';
        }

        return implode('.', $version);
    }
protected static function standardizeVersion ( $ version ) { if ( \ is_string ( $ version ) ) { $ version = explode ( '.' , $ version ) ; } while ( \ count ( $ version ) < 3 ) { $ version [ ] = '0' ; } return implode ( '.' , $ version ) ; }
Standardize the version.

@param array|string $version The version or the splitted version

@return string
Standardize the version .