Revert "Removing all the occurence of any"
Revert "Removing all the occurence of any"

This reverts commit 84afd6c93739c1a112a00ecc9e88ebb42e8cfe42, because it
is a BC-break that seems to affect more people than we originally
thought it would.

doctrine/doctrine2,doctrine/doctrine2