Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/3307'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jan 4, 2013
2 parents 4a9120e + d903429 commit 0568c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Client/Cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ protected function _matchPath($domains, $path)
*/
public static function fromResponse(Response $response, $ref_uri)
{
$jar = new self();
$jar = new static();
$jar->addCookiesFromResponse($response, $ref_uri);
return $jar;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ protected function _matchPath($domains, $path)
*/
public static function fromResponse(Response $response, $ref_uri)
{
$jar = new self();
$jar = new static();
$jar->addCookiesFromResponse($response, $ref_uri);
return $jar;
}
Expand Down

0 comments on commit 0568c55

Please sign in to comment.