Permalink
Browse files

bug #291 Guzzle v6 compatibility fix (abhinavkumar940)

This PR was merged into the 3.2-dev branch.

Discussion
----------

Guzzle v6 compatibility fix

Fixes #289

Commits
-------

10e062b Guzzle v6 compatibility fix
  • Loading branch information...
2 parents a584afc + 10e062b commit db5c28f4a010b4161d507d5304e28a7ebf211638 @fabpot fabpot committed Jan 3, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 Goutte/Client.php
View
@@ -44,7 +44,7 @@ public function setClient(GuzzleClientInterface $client)
public function getClient()
{
if (!$this->client) {
- $this->client = new GuzzleClient(array('defaults' => array('allow_redirects' => false, 'cookies' => true)));
+ $this->client = new GuzzleClient(array('allow_redirects' => false, 'cookies' => true));
}
return $this->client;

0 comments on commit db5c28f

Please sign in to comment.