Details
-
Improvement
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
4.0.0-a1, 3.2.4
-
None
Description
Since PHP 5, object arguments don't need to be passed by reference explicitly anymore. The only exception to this is when the object the argument points to is re-assigned in the function body.
All the unneeded & in function arguments where objects are passed should be removed.