From e21b7c59697c99db621b446533be059c623aa69a Mon Sep 17 00:00:00 2001 From: Jameel Moses Date: Fri, 16 Jul 2021 10:46:52 -0400 Subject: [PATCH] Fixes #38 parse_header() has been replaced with Header::parse() --- src/Clients/GuzzleClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Clients/GuzzleClient.php b/src/Clients/GuzzleClient.php index 264a7fe..63caea2 100644 --- a/src/Clients/GuzzleClient.php +++ b/src/Clients/GuzzleClient.php @@ -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]);