Skip to content

Commit 531a2db

Browse files
committed
minor #13365 Update calls.rst (MaharishiCanada)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes #13365). Discussion ---------- Update calls.rst Elsewhere in the documentation, the syntax used for the `calls` parameter in services.yaml is `- [method, arguments array]`. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 40ad752 Update calls.rst
2 parents 0c786b5 + 40ad752 commit 531a2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/calls.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To configure the container to call the ``setLogger`` method, use the ``calls`` k
4040
App\Service\MessageGenerator:
4141
# ...
4242
calls:
43-
- setLogger: ['@logger']
43+
- [setLogger, ['@logger']]
4444
4545
.. code-block:: xml
4646

0 commit comments

Comments
 (0)