Skip to content

Commit 8681fde

Browse files
authored
Merge pull request #242 from rikivesa/fix/Psr7-header-fix
replace deprecated parse_header with Header::parse
2 parents 03fb190 + 5bac0f0 commit 8681fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Picqer/Financials/Moneybird/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ private function parseResponse(Response $response)
429429
*/
430430
private function getNextParams($headerLine)
431431
{
432-
$links = Psr7\parse_header($headerLine);
432+
$links = Psr7\Header::parse($headerLine);
433433

434434
foreach ($links as $link) {
435435
if (isset($link['rel']) && $link['rel'] === 'next') {

0 commit comments

Comments
 (0)