Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |
  • Loading branch information
ifdattic committed Jan 25, 2015
1 parent 3774a37 commit 4d400bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ By changing a string value into an associative array with ``name`` as the key::
->arrayNode('connection')
->beforeNormalization()
->ifString()
->then(function($v) { return array('name'=> $v); })
->then(function ($v) { return array('name' => $v); })
->end()
->children()
->scalarNode('name')->isRequired()
Expand Down

0 comments on commit 4d400bd

Please sign in to comment.