troydavisson / PHRETS

PHP client library for interacting with a RETS server to pull real estate listings, photos and other data made available from an MLS system
http://troda.com
MIT License
449 stars 235 forks source link

PHRETS depends on Guzzle, but latest Guzzle causes problems #298

Open acmwallace opened 2 years ago

acmwallace commented 2 years ago

Specifically with the function setDefaultOption:

$this->rets_session->getClient()->setDefaultOption()

This seems to translate down to calling setDefaultOption on a Guzzle client, but somewhere along the line, Guzzle removed that function. This is mainly an issue for me, as I am trying to set up some cookie parameters, and can't. Is there a way to specify a version of guzzle in the dependencies that still contains this function? Or is there another way to set cookie parameters in PHRETS?

MinaWilliam commented 2 years ago

@troydavisson this PR fixes the issue, could you merge it plz? #297