From 6381a8cc2839ca29b5101ff4d879a02c6bf7eb3a Mon Sep 17 00:00:00 2001 From: Giancarlo Date: Thu, 22 Oct 2015 22:18:29 -0500 Subject: [PATCH] Update rate_limits.md Change $client instead $github to match the rest of the docs --- doc/rate_limits.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rate_limits.md b/doc/rate_limits.md index 123e403abf8..24b3894b611 100644 --- a/doc/rate_limits.md +++ b/doc/rate_limits.md @@ -7,17 +7,17 @@ Wraps [GitHub Rate Limit API](http://developer.github.com/v3/rate_limit/). #### Get All Rate Limits. ```php -$rateLimits = $github->api('rate_limit')->getRateLimits(); +$rateLimits = $client->api('rate_limit')->getRateLimits(); ``` #### Get Core Rate Limit ```php -$coreLimit = $github->api('rate_limit')->getCoreLimit(); +$coreLimit = $client->api('rate_limit')->getCoreLimit(); ``` #### Get Search Rate Limit ```php -$searchLimit = $github->api('rate_limit)->getSearchLimit'); +$searchLimit = $client->api('rate_limit)->getSearchLimit'); ```