fix compatibility with zendframework/zf2#5650
Merge pull request #48 from stefanotorresi/fix/zf2.3-compatibility

fix compatibility with zendframework/zf2#5650