Skip to content

Commit edf388d

Browse files
committed
minor #14523 Correct case of suffix in example rate limiter (maartendekeizer)
This PR was merged into the 5.2-dev branch. Discussion ---------- Correct case of suffix in example rate limiter The suffix should be with an uppercase (`limiter` -> `Limiter) Commits ------- adf1978 Correct case of suffix in example rate limiter
2 parents e78aba4 + adf1978 commit edf388d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rate_limiter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ the number of requests to the API::
129129
class ApiController extends AbstractController
130130
{
131131
// if you're using service autowiring, the variable name must be:
132-
// "rate limiter name" (in camelCase) + "limiter" suffix
132+
// "rate limiter name" (in camelCase) + "Limiter" suffix
133133
public function index(RateLimiterFactory $anonymousApiLimiter)
134134
{
135135
// create a limiter based on a unique identifier of the client

0 commit comments

Comments
 (0)