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

ServiceManager::has() when assigned non String or Array causes Undefine Notice errors #5395

Closed
franz-deleon opened this issue Oct 31, 2013 · 2 comments
Milestone

Comments

@franz-deleon
Copy link
Contributor

When ServiceManager::has() is validated against non arrays or strings, it returns error notices but it should really just return false

franz-deleon pushed a commit to franz-deleon/zf2 that referenced this issue Oct 31, 2013
…ut might as well do a small patch right now
franz-deleon added a commit to franz-deleon/zf2 that referenced this issue Nov 1, 2013
@weierophinney
Copy link
Member

@franz-deleon Please send 15da648 as a PR -- that one looks correct, and maintains the canCreate() method.

weierophinney added a commit that referenced this issue Nov 1, 2013
@weierophinney
Copy link
Member

Closed via #5396.

gianarb pushed a commit to zendframework/zend-servicemanager that referenced this issue May 15, 2015
…e deprecated but might as well do a small patch right now
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this issue May 15, 2015
weierophinney added a commit to zendframework/zend-servicemanager that referenced this issue 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

No branches or pull requests

2 participants