fix for zendframework/zf2#3555
Merge branch 'hotfix/develop-#3555' of git://github.com/netiul/zf2 into hotfix/3556
Merge branch 'hotfix/3556' into develop

Close #3556
Fixes #3555