[FEATURE] Add array and object support for NotEmptyValidator
This patch resolves the problem that empty arrays are not correctly
validated when using the NotEmpty validation annotation. Arrays
and Countables that are empty will now trigger an error.
Follow-up patch to https://review.typo3.org/14707