Skip to content

Commit

Permalink
Reverted the old cookie collection in order to keep BC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Pustułka committed May 29, 2017
1 parent ddfa92c commit c0f5030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Client.php
Expand Up @@ -16,6 +16,7 @@
use Cake\Core\App;
use Cake\Core\Exception\Exception;
use Cake\Core\InstanceConfigTrait;
use Cake\Http\Client\CookieCollection as ClientCookieCollection;
use Cake\Http\Client\Request;
use Cake\Http\Cookie\CookieCollection;
use Cake\Utility\Hash;
Expand Down Expand Up @@ -168,7 +169,7 @@ public function __construct($config = [])
$this->_cookies = $this->_config['cookieJar'];
$this->setConfig('cookieJar', null);
} else {
$this->_cookies = new CookieCollection();
$this->_cookies = new ClientCookieCollection();
}
}

Expand Down

0 comments on commit c0f5030

Please sign in to comment.