Merge pull request #10088 from alexander-schranz/patch-1

Fix GithubDriver nextPage deprecation notice with no link header
main
Jordi Boggiano 3 years ago committed by GitHub
commit 73e95aa0f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save