1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-03-14 19:29:49 +01:00

forgot $this

This commit is contained in:
Kirill 2015-07-27 15:12:58 -04:00
parent 6aceeb7304
commit c03cda8b3e
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class FileCookieJar extends CookieJar
$json = [];
foreach ($this as $cookie) {
/** @var SetCookie $cookie */
if($cookie->getExpires() || $storeSessionCookies){
if($cookie->getExpires() || $this->storeSessionCookies){
if (!$cookie->getDiscard()) {
$json[] = $cookie->toArray();
}

View File

@ -41,7 +41,7 @@ class SessionCookieJar extends CookieJar
$json = [];
foreach ($this as $cookie) {
/** @var SetCookie $cookie */
if($cookie->getExpires() || $storeSessionCookies){
if($cookie->getExpires() || $this->storeSessionCookies){
if (!$cookie->getDiscard()) {
$json[] = $cookie->toArray();
}