Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Zend/Di, retriving same shared instance for different extra parameters #3260

Closed
wants to merge 3 commits into from
Closed

Conversation

skolodyazhnyy
Copy link
Contributor

I have created an fix for issue #3192, about a problem which I got. Also, I made a simple test for my situation and add it to tests/ZendTests/Di/DiTest.php.

* @return array
*/

public function _getCallParameters($name, array $params, $method = "__construct")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the "_" prefix on the method?

@ghost ghost assigned weierophinney Jan 2, 2013
weierophinney added a commit that referenced this pull request Jan 2, 2013
- Removed "_" prefix from getCallParameters()
- whitespace between operators and parens
- added braces to logic blocks
weierophinney added a commit that referenced this pull request Jan 2, 2013
@weierophinney
Copy link
Member

Merged, and corrected all CS issues at the same time.

@skolodyazhnyy
Copy link
Contributor Author

Thanks, Matthew

weierophinney added a commit to zendframework/zend-di that referenced this pull request May 15, 2015
- Removed "_" prefix from getCallParameters()
- whitespace between operators and parens
- added braces to logic blocks
weierophinney added a commit to zendframework/zend-di that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-di that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants