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 782b02d + 9f65965 commit 92203a6Copy full SHA for 92203a6
lib/Github/HttpClient/Listener/ErrorListener.php
@@ -41,7 +41,7 @@ public function onRequestError(Event $event)
41
if ($response->isClientError() || $response->isServerError()) {
42
$remaining = (string) $response->getHeader('X-RateLimit-Remaining');
43
44
- if (null !== $remaining && 1 > $remaining && 'rate_limit' !== substr($request->getResource(), 1, 10)) {
+ if (null != $remaining && 1 > $remaining && 'rate_limit' !== substr($request->getResource(), 1, 10)) {
45
throw new ApiLimitExceedException($this->options['api_limit']);
46
}
47
0 commit comments