File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -454,8 +454,6 @@ with the ``doctrine.event_subscriber`` tag:
454
454
<service id =" App\EventListener\DatabaseActivitySubscriber" >
455
455
<tag name =" doctrine.event_subscriber" priority =" 500" connection =" default" />
456
456
</service >
457
-
458
- </service >
459
457
</services >
460
458
</container >
461
459
@@ -475,7 +473,7 @@ with the ``doctrine.event_subscriber`` tag:
475
473
// to the same event (default priority = 0; higher numbers = listener is run earlier)
476
474
'priority' => 500,
477
475
478
- # you can also restrict listeners to a specific Doctrine connection
476
+ // you can also restrict listeners to a specific Doctrine connection
479
477
'connection' => 'default',
480
478
])
481
479
;
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ enforce different levels of service (free or paid):
178
178
179
179
// config/packages/rate_limiter.php
180
180
$container->loadFromExtension('framework', [
181
- rate_limiter' => [
181
+ ' rate_limiter' => [
182
182
'anonymous_api' => [
183
183
// use 'sliding_window' if you prefer that policy
184
184
'policy' => 'fixed_window',
@@ -401,7 +401,7 @@ Use the ``cache_pool`` option to override the cache used by a specific limiter
401
401
cache-pool =" cache.anonymous_rate_limiter"
402
402
/>
403
403
404
- <!-- ... ->
404
+ <!-- ... -- >
405
405
</framework : rate-limiter >
406
406
</framework : config >
407
407
</container >
@@ -410,7 +410,7 @@ Use the ``cache_pool`` option to override the cache used by a specific limiter
410
410
411
411
// config/packages/rate_limiter.php
412
412
$container->loadFromExtension('framework', [
413
- rate_limiter' => [
413
+ ' rate_limiter' => [
414
414
'anonymous_api' => [
415
415
// ...
416
416
@@ -484,7 +484,7 @@ you can use a specific :ref:`named lock <lock-named-locks>` via the
484
484
485
485
// config/packages/rate_limiter.php
486
486
$container->loadFromExtension('framework', [
487
- rate_limiter' => [
487
+ ' rate_limiter' => [
488
488
'anonymous_api' => [
489
489
// ...
490
490
Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ and set the ``limiter`` option to its service ID:
711
711
'firewalls' => [
712
712
'main' => [
713
713
// use a custom rate limiter via its service ID
714
- 'login_throttling' =>
714
+ 'login_throttling' => [
715
715
'limiter' => 'app.login_rate_limiter',
716
716
],
717
717
],
You can’t perform that action at this time.
0 commit comments