**API Platform version(s) affected**: 2.7.13 **Description** Multiple ManyToMany on same class doesn't work https://github.com/api-platform/core/issues/5256 **How to reproduce** https://github.com/api-platform/core/issues/5256 **Possible Solution** Similar fix like for v3 https://github.com/api-platform/core/pull/5169/files