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.
2 parents d2729cf + 6e000c2 commit a03bae7Copy full SHA for a03bae7
lib/Github/HttpClient/Message/ResponseMediator.php
@@ -46,5 +46,7 @@ public static function getApiLimit(Response $response)
46
if (null !== $remainingCalls && 1 > $remainingCalls) {
47
throw new ApiLimitExceedException($remainingCalls);
48
}
49
+
50
+ return $remainingCalls;
51
52
0 commit comments