Merge pull request #10088 from alexander-schranz/patch-1
Fix GithubDriver nextPage deprecation notice with no link headerpull/10089/head
commit
73e95aa0f9
|
@ -575,6 +575,10 @@ class GitHubDriver extends VcsDriver
|
|||
protected function getNextPage(Response $response)
|
||||
{
|
||||
$header = $response->getHeader('link');
|
||||
|
||||
if (!$header) {
|
||||
return;
|
||||
}
|
||||
|
||||
$links = explode(',', $header);
|
||||
foreach ($links as $link) {
|
||||
|
|
Loading…
Reference in New Issue