Skip to content

Commit 9301c9d

Browse files
committed
Fix deprecated usage of GuzzleHttp\Psr7\parse_header()
1 parent e532df0 commit 9301c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SourceGithub/SourceGithub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ private function api_get( $p_repo, $p_path, $p_member = '' ) {
516516
# Store retrieved data and proceed with next page
517517
$t_json = array_merge( $t_json, $t_data );
518518

519-
$t_links = GuzzleHttp\Psr7\parse_header( $t_response->getHeader( 'Link' ) );
519+
$t_links = GuzzleHttp\Psr7\Header::parse( $t_response->getHeader( 'Link' ) );
520520
foreach( $t_links as $t_link ) {
521521
if( $t_link['rel'] == 'next' ) {
522522
$t_path = trim( $t_link[0], '<>' );

0 commit comments

Comments
 (0)