From 3ed2cf33a6dd25e4375ed9bffc0882b50a8a14b0 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Fri, 25 Sep 2020 13:51:33 +0200 Subject: [PATCH] Add missing `->end()` method call --- components/config/definition.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/config/definition.rst b/components/config/definition.rst index ab612c7ea18..b6be37a9695 100644 --- a/components/config/definition.rst +++ b/components/config/definition.rst @@ -752,7 +752,7 @@ By changing a string value into an associative array with ``name`` as the key:: ->then(function ($v) { return ['name' => $v]; }) ->end() ->children() - ->scalarNode('name')->isRequired() + ->scalarNode('name')->isRequired()->end() // ... ->end() ->end()