Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
franz-deleon opened this Issue · 2 comments

2 participants

@franz-deleon

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

@franz-deleon franz-deleon referenced this issue from a commit in franz-deleon/zf2
Franz De Leon fix for issue #5395. I know its going to be deprecated but might as w…
…ell do a small patch right now
15da648
@weierophinney

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

@weierophinney

Closed via #5396.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.