Skip to content

Commit

Permalink
Fixes #38 parse_header() has been replaced with Header::parse()
Browse files Browse the repository at this point in the history
  • Loading branch information
jameelmoses authored Jul 16, 2021
1 parent 17e2819 commit e21b7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clients/GuzzleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function getClient()
*/
private function _setLinks()
{
$links = Psr7\parse_header($this->guzzleResponse->getHeader('Link'));
$links = Psr7\Header::parse($this->guzzleResponse->getHeader('Link'));
foreach ($links as $link) {
if ($link['rel'] == 'last') {
$this->_lastLink = str_replace(['<', '>'], '', $link[0]);
Expand Down

0 comments on commit e21b7c5

Please sign in to comment.