[BUGFIX] add return for processSubEntities in DoctrineRestHelper

__Tasks:__

- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Tests pass?   | yes
| Fixed tickets | none
| Doc           | none