Fixes default type == string

More details here: https://github.com/zendframework/zf1/issues/229