Check for returned link header in GithubDriver
parent
5b16d61762
commit
99c6b450e6
|
@ -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