PIM-2440: Remove useless object typehint
Merge branch 'PIM-2440' of github.com:akeneo/pim-community-dev into PIM-2440