public function create(HttpClient $client = null): PluginClient
    {
        return new PluginClient($client ?? HttpClientDiscovery::find(), $this->plugins);
    }
public function create(HttpClient $client = null): PluginClient
    {
        return new PluginClient($client ?? HttpClientDiscovery::find(), $this->plugins);
    }
public function create ( HttpClient $ client = null ) : PluginClient { return new PluginClient ( $ client ?? HttpClientDiscovery :: find ( ) , $ this -> plugins ) ; }
Build the HTTP client to talk to the API.
Build the HTTP client to talk to the API .