Skip to content

Commit a04e162

Browse files
Fixed error in getHeader function
1 parent 3867ad9 commit a04e162

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Gitlab/HttpClient/Message/ResponseMediator.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ public static function getPagination(ResponseInterface $response)
7676
*/
7777
private static function getHeader(ResponseInterface $response, $name)
7878
{
79-
if (!$response->hasHeader('Link')) {
80-
return null;
81-
}
82-
8379
$headers = $response->getHeader($name);
8480

8581
return array_shift($headers);

0 commit comments

Comments
 (0)