[BUGFIX] Add missing annotation for inject method

Change-Id: I07948b6d2c7b287e872c68efb3e0e7f2ab8768b8
Reviewed-on: https://review.typo3.org/30601
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes