Issue Type: Bug Created: 2011-08-14T22:08:59.000+0000 Last Updated: 2011-08-25T22:27:06.000+0000 Status: Resolved Fix version(s): Reporter: Shay Ben Moshe (shayfalador) Assignee: Ralph Schindler (ralph) Tags: - Zend\Di
Related issues: Attachments:
In the file Zend/Di/InstanceManager.php line 280 character 92 there should have been 2 rather than 3.
Currently, when creating a new instance using
createInstanceViaConstructor in case count($callParameters) is 3, the returned value is: new $class($callParameters, $callParameters, $callParameters) which is obviously wrong and should be: new $class($callParameters, $callParameters, $callParameters)
EDIT: I have submitted a pull request in github (link: https://github.com/zendframework/zf2/pull/343).
Good luck, Shay Ben Moshe, Israel
Posted by Ralph Schindler (ralph) on 2011-08-25T22:27:06.000+0000
Fixed in master in commit cbf5c65
Have you found an issue?
See the Overview section for more details.