Skip to content

Commit 06f0f5b

Browse files
committed
minor #15348 [RateLimiter] Fix syntax error in config (Nyholm)
This PR was merged into the 5.2 branch. Discussion ---------- [RateLimiter] Fix syntax error in config This is not the same as #15346 Commits ------- 57aa49a Fix syntax error
2 parents 9edbdd8 + 57aa49a commit 06f0f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rate_limiter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ enforce different levels of service (free or paid):
178178
179179
// config/packages/rate_limiter.php
180180
$container->loadFromExtension('framework', [
181-
rate_limiter' => [
181+
'rate_limiter' => [
182182
'anonymous_api' => [
183183
// use 'sliding_window' if you prefer that policy
184184
'policy' => 'fixed_window',
@@ -484,7 +484,7 @@ you can use a specific :ref:`named lock <lock-named-locks>` via the
484484
485485
// config/packages/rate_limiter.php
486486
$container->loadFromExtension('framework', [
487-
rate_limiter' => [
487+
'rate_limiter' => [
488488
'anonymous_api' => [
489489
// ...
490490

0 commit comments

Comments
 (0)