ZF-10116: Incorrect error message with length as array

Description

When using Zend_Validate_Barcode('ean8'), and entering not 7 or 8 symbols, in result we see "'123456' should have a length of Array characters".

Comments

Fixed with r22541