File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ the number of requests to the API::
128128
129129 class ApiController extends AbstractController
130130 {
131- // the variable name must be: "rate limiter name" + "limiter" suffix
132- // if you're using autowiring for your services
131+ // if you're using service autowiring, the variable name must be:
132+ // "rate limiter name" (in camelCase) + "limiter" suffix
133133 public function index(RateLimiter $anonymousApiLimiter)
134134 {
135135 // create a limiter based on a unique identifier of the client
@@ -199,8 +199,8 @@ processes by reserving unused tokens.
199199
200200.. note ::
201201
202- Not all strategies allow reservering tokens in the future. These
203- strategies may throw an ``ReserveNotSupportedException `` when calling
202+ Not all strategies allow reserving tokens in the future. These
203+ strategies may throw a ``ReserveNotSupportedException `` when calling
204204 ``reserve() ``.
205205
206206 In these cases, you can use ``consume() `` together with ``wait() ``, but
You can’t perform that action at this time.
0 commit comments