public function buildQuery(array $params = [])
    {
        $params = array_merge($params, [
          'user_login' => $this->login,
          'api_key' => $this->apiKey
        ]);
        return http_build_query($params);
    }
public function buildQuery(array $params = [])
    {
        $params = array_merge($params, [
          'user_login' => $this->login,
          'api_key' => $this->apiKey
        ]);
        return http_build_query($params);
    }
public function buildQuery ( array $ params = [ ] ) { $ params = array_merge ( $ params , [ 'user_login' => $ this -> login , 'api_key' => $ this -> apiKey ] ) ; return http_build_query ( $ params ) ; }
Merge the credentials and params then returns the string query

@param  array  $params The params array
@return string  The query string
Merge the credentials and params then returns the string query