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 f18a6ce + 6381a8c commit b289a33Copy full SHA for b289a33
doc/rate_limits.md
@@ -7,17 +7,17 @@ Wraps [GitHub Rate Limit API](http://developer.github.com/v3/rate_limit/).
7
#### Get All Rate Limits.
8
9
```php
10
-$rateLimits = $github->api('rate_limit')->getRateLimits();
+$rateLimits = $client->api('rate_limit')->getRateLimits();
11
```
12
13
#### Get Core Rate Limit
14
15
16
-$coreLimit = $github->api('rate_limit')->getCoreLimit();
+$coreLimit = $client->api('rate_limit')->getCoreLimit();
17
18
19
#### Get Search Rate Limit
20
21
22
-$searchLimit = $github->api('rate_limit)->getSearchLimit');
+$searchLimit = $client->api('rate_limit)->getSearchLimit');
23
0 commit comments