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.
1 parent 7cfdbfc commit 8eccfeaCopy full SHA for 8eccfea
rate_limiter.rst
@@ -119,7 +119,7 @@ the number of requests to the API::
119
120
// the argument of consume() is the number of tokens to consume
121
// and returns an object of type Limit
122
- if (false === $anonymous_api_limiter->consume(1)->isAccepted()) {
+ if (false === $limiter->consume(1)->isAccepted()) {
123
throw new TooManyRequestsHttpException();
124
}
125
0 commit comments