Skip to content

Commit 2f00687

Browse files
committed
Fix the XML configuration example for enums
There is no `type="enum"` in the XML file loader.
1 parent b471e48 commit 2f00687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ reusable configuration value. By convention, parameters are defined under the
232232
<parameter key="app.another_constant" type="constant">App\Entity\BlogPost::MAX_ITEMS</parameter>
233233
234234
<!-- Enum case as parameter values -->
235-
<parameter key="app.some_enum" type="enum">App\Enum\PostState::Published</parameter>
235+
<parameter key="app.some_enum" type="constant">App\Enum\PostState::Published</parameter>
236236
</parameters>
237237
238238
<!-- ... -->

0 commit comments

Comments
 (0)