Skip to content

Loading…

HydratorInterface::hydrate should not declare "array" type #2721

Closed
bouchery opened this Issue · 3 comments

4 participants

@bouchery

If you want to hydrate an object from another (ex: ArrayAccess) you can't implement Zend\Stdlib\HydratorInterface because parameter $data of "hydrate" is using type hint "array".

@prolic

This is a BC break. We can do this in 3.0

@iquabius

I think this should be moved to 3.0 milestone

@weierophinney
Zend Framework member

Closing due to inactivity and lack of comprehensive usage case.

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.