Skip to content

Commit 87fe64b

Browse files
committed
Merge pull request symfony#1927 from richardmiller/correcting_config_method_name
Correcting method names in config component example
2 parents 79e023c + 9fb6dd7 commit 87fe64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/config/definition.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ By changing a string value into an associative array with ``name`` as the key::
383383
->ifString()
384384
->then(function($v) { return array('name'=> $v); })
385385
->end()
386-
->scalarValue('name')->isRequired()
386+
->scalarNode('name')->isRequired()
387387
// ...
388388
->end()
389389
;

0 commit comments

Comments
 (0)