symfony/symfony-docs — pull request #2180 by linclark (2013-01-24 00:37:36+00:00)
Title: Fixed parameter type mismatch in addMethodCall example.

The example passes an object as the second parameter to addMethodCall. However, addMethodCall expects an array.

Fixed by wrapping the object in an array.