replaceArguments should be setArguments
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