private static function buildClient(array $config = []): GuzzleClient
    {
        $handlerStack = new HandlerStack(\GuzzleHttp\choose_handler());
        $handlerStack->push(Middleware::prepareBody(), 'prepare_body');
        $config = array_merge(['handler' => $handlerStack], $config);

        return new GuzzleClient($config);
    }
private static function buildClient(array $config = []): GuzzleClient
    {
        $handlerStack = new HandlerStack(\GuzzleHttp\choose_handler());
        $handlerStack->push(Middleware::prepareBody(), 'prepare_body');
        $config = array_merge(['handler' => $handlerStack], $config);

        return new GuzzleClient($config);
    }
private static function buildClient ( array $ config = [ ] ) : GuzzleClient { $ handlerStack = new HandlerStack ( \ GuzzleHttp \ choose_handler ( ) ) ; $ handlerStack -> push ( Middleware :: prepareBody ( ) , 'prepare_body' ) ; $ config = array_merge ( [ 'handler' => $ handlerStack ] , $ config ) ; return new GuzzleClient ( $ config ) ; }
Build the Guzzle client instance.
Build the Guzzle client instance .