Fixes default type == string

See ZF1 issue for more: https://github.com/zendframework/zf1/issues/229