We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d174d commit 347ab47Copy full SHA for 347ab47
administrator/components/com_patchtester/src/Model/PullsModel.php
@@ -372,8 +372,7 @@ public function requestFromGithub(int $page): array
372
if ($page === 1) {
373
// Default this to being a single page of results
374
$lastPage = 1;
375
- if (isset($pullsResponse->headers['link'])) {
376
- $linkHeader = $pullsResponse->headers['link'];
+ if ($linkHeader = $pullsResponse->getHeader('link')) {
377
// The `joomla/http` 2.0 package uses PSR-7 Responses which has a different format for headers, check for this
378
if (is_array($linkHeader)) {
379
$linkHeader = $linkHeader[0];
0 commit comments