Issues

ZF2-331: Digits Validator append %value% to an empty string error message

Description

In Zend\Validator\Digits the following error return on empty string:


self::STRING_EMPTY => "'%value%' is an empty string",

I think the %value% should not be displayd as it actualy empty. The result is a string with two quotes at the start:


'' is an empty string

Comments

This PR changes that template https://github.com/zendframework/zf2/…

Patch is merged