Skip to content

Commit d02b828

Browse files
GrahamCampbellStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent b51a9dc commit d02b828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Gitlab/HttpClient/Message/ResponseMediator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function getPagination(ResponseInterface $response)
4242
{
4343
$header = self::getHeader($response, 'Link');
4444

45-
if ($header === null) {
45+
if (null === $header) {
4646
return [];
4747
}
4848

@@ -87,7 +87,7 @@ private static function getHeader(ResponseInterface $response, $name)
8787
*/
8888
public static function getErrorMessage(ResponseInterface $response)
8989
{
90-
$content = ResponseMediator::getContent($response);
90+
$content = self::getContent($response);
9191

9292
if (!is_array($content)) {
9393
return null;

0 commit comments

Comments
 (0)