From 34c04a20c05e77ec4b45719f000b2717d2bdcf40 Mon Sep 17 00:00:00 2001 From: Xaver Loppenstedt Date: Mon, 27 Oct 2025 10:44:53 +0100 Subject: [PATCH] Fix invalid YAML in example in core/state-processors.md and state-providers.md, fixes #2213 --- core/state-processors.md | 2 +- core/state-providers.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state-processors.md b/core/state-processors.md index 28137a95fd1..bf52a79b5d4 100644 --- a/core/state-processors.md +++ b/core/state-processors.md @@ -324,7 +324,7 @@ If you disabled this feature, you need to register the services by yourself and services: # ... - App\State\BlogPostProcessor: ~ + App\State\BlogPostProcessor: tags: [ 'api_platform.state_processor' ] App\State\UserProcessor: diff --git a/core/state-providers.md b/core/state-providers.md index 49f6b603d0b..cbb88f0c360 100644 --- a/core/state-providers.md +++ b/core/state-providers.md @@ -404,7 +404,7 @@ To declare the service explicitly, you can use the following snippet: services: # ... - App\State\BlogPostProvider: ~ + App\State\BlogPostProvider: tags: [ 'api_platform.state_provider' ] # api/config/services.yaml