adjust to https://github.com/doctrine/phpcr-odm/pull/349