Skip to content

Commit a03bae7

Browse files
committed
Merge pull request #264 from jrean/patch-1
Add the missing return statement
2 parents d2729cf + 6e000c2 commit a03bae7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Github/HttpClient/Message/ResponseMediator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ public static function getApiLimit(Response $response)
4646
if (null !== $remainingCalls && 1 > $remainingCalls) {
4747
throw new ApiLimitExceedException($remainingCalls);
4848
}
49+
50+
return $remainingCalls;
4951
}
5052
}

0 commit comments

Comments
 (0)