Skip to content

Commit b289a33

Browse files
committed
Merge pull request KnpLabs#329 from SakyaStelios/master
Update rate_limits.md
2 parents f18a6ce + 6381a8c commit b289a33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/rate_limits.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ Wraps [GitHub Rate Limit API](http://developer.github.com/v3/rate_limit/).
77
#### Get All Rate Limits.
88

99
```php
10-
$rateLimits = $github->api('rate_limit')->getRateLimits();
10+
$rateLimits = $client->api('rate_limit')->getRateLimits();
1111
```
1212

1313
#### Get Core Rate Limit
1414

1515
```php
16-
$coreLimit = $github->api('rate_limit')->getCoreLimit();
16+
$coreLimit = $client->api('rate_limit')->getCoreLimit();
1717
```
1818

1919
#### Get Search Rate Limit
2020

2121
```php
22-
$searchLimit = $github->api('rate_limit)->getSearchLimit');
22+
$searchLimit = $client->api('rate_limit)->getSearchLimit');
2323
```

0 commit comments

Comments
 (0)