Skip to content

Commit

Permalink
Fixed broken cookies getter code
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 8, 2020
1 parent 1884e25 commit c973c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PageUtils/CookiesGetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CookiesGetter extends ResponseWaiter
public function getCookies()
{
return new CookiesCollection(
$this->responseReader->getResponse()->getResultData('cookies') ?? null()
$this->responseReader->getResponse()->getResultData('cookies')
);
}
}

0 comments on commit c973c66

Please sign in to comment.