Skip to content

Commit e98c7fb

Browse files
authored
Fix invalid YAML in example in core/state-processors.md and state-providers.md, fixes #2213 (#2223)
1 parent 6f09119 commit e98c7fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/state-processors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ If you disabled this feature, you need to register the services by yourself and
324324

325325
services:
326326
# ...
327-
App\State\BlogPostProcessor: ~
327+
App\State\BlogPostProcessor:
328328
tags: [ 'api_platform.state_processor' ]
329329

330330
App\State\UserProcessor:

core/state-providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ To declare the service explicitly, you can use the following snippet:
404404

405405
services:
406406
# ...
407-
App\State\BlogPostProvider: ~
407+
App\State\BlogPostProvider:
408408
tags: [ 'api_platform.state_provider' ]
409409

410410
# api/config/services.yaml

0 commit comments

Comments
 (0)