code: public function getClient()
      {
          if (empty($this->client) || !($this->client instanceof HttpClient)) {
              $this->client = new HttpClient();
          }
  
          return $this->client;
      }
docs: Get GuzzleHttp\Client instance.
  
  @return \GuzzleHttp\Client