protected function buildCommitsPath(string ...$parts)
    {
        return static::buildPath('repositories', $this->username, $this->repo, 'pullrequests', $this->pr, 'commits', ...$parts);
    }
protected function buildCommitsPath(string ...$parts)
    {
        return static::buildPath('repositories', $this->username, $this->repo, 'pullrequests', $this->pr, 'commits', ...$parts);
    }
protected function buildCommitsPath ( string ... $ parts ) { return static :: buildPath ( 'repositories' , $ this -> username , $ this -> repo , 'pullrequests' , $ this -> pr , 'commits' , ... $ parts ) ; }
Build the commits path from the given parts.

@param string[] $parts

@throws \Bitbucket\Exception\InvalidArgumentException

@return string
Build the commits path from the given parts .