Permalink
Browse files

bug #3786 replaceArguments should be setArguments (RobinvdVleuten)

This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3786).

Discussion
----------

replaceArguments should be setArguments

The method _replaceArguments_ doesn't exists, this should be _setArguments_.

Commits
-------

1d7543c replaceArguments should be setArguments
  • Loading branch information...
weaverryan committed Apr 21, 2014
2 parents 79322ff + 216b620 commit a81d367d6f96bc498a609eec3b553cd1a605e361
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/dependency_injection/definitions.rst
@@ -88,7 +88,7 @@ In a similar way you can replace an already set argument by index using::
You can also replace all the arguments (or set some if there are none) with
an array of arguments::
$definition->replaceArguments($arguments);
$definition->setArguments($arguments);
Method Calls
~~~~~~~~~~~~

0 comments on commit a81d367

Please sign in to comment.