Skip to content

Commit

Permalink
bug #3786 replaceArguments should be setArguments (RobinvdVleuten)
Browse files Browse the repository at this point in the history
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 a81d367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dependency_injection/definitions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~
Expand Down

0 comments on commit a81d367

Please sign in to comment.