Skip to content

Commit

Permalink
Merge pull request #38 from jameelmoses/master
Browse files Browse the repository at this point in the history
Fixes #38 parse_header() has been replaced with Header::parse()
  • Loading branch information
tdphillipsjr authored Jul 21, 2021
2 parents 17e2819 + e21b7c5 commit dac20e0
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 dac20e0

Please sign in to comment.