minor code style issue : concatenating strings

This commit is contained in:
Tony 2018-03-02 15:30:30 +01:00
parent 3a56b83756
commit b2e15785ac
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ if ( !class_exists('Puc_v4p4_Vcs_GitLabApi', false) ):
//Parse the repository host to support custom hosts.
$port = @parse_url($repositoryUrl, PHP_URL_PORT);
if ( !empty($port) ){
$port = ':'.$port;
$port = ':' . $port;
}
$this->repositoryHost = @parse_url($repositoryUrl, PHP_URL_HOST).$port;
$this->repositoryHost = @parse_url($repositoryUrl, PHP_URL_HOST) . $port;
//Find the repository information
$path = @parse_url($repositoryUrl, PHP_URL_PATH);