private function resolvePath($path = null)
    {
        if (null === $path) {
            if (null === $this->path) {
                throw new LogicException('No default Git repository path set.');
            }

            $path = $this->path;
        }

        return $path;
    }
private function resolvePath($path = null)
    {
        if (null === $path) {
            if (null === $this->path) {
                throw new LogicException('No default Git repository path set.');
            }

            $path = $this->path;
        }

        return $path;
    }
private function resolvePath ( $ path = null ) { if ( null === $ path ) { if ( null === $ this -> path ) { throw new LogicException ( 'No default Git repository path set.' ) ; } $ path = $ this -> path ; } return $ path ; }
Resolves the Git repository path argument.

@param null|string $path The given path.

@return string The resolved path.

@throws LogicException If no path is set.
Resolves the Git repository path argument .