[TASK] Adjust php doc comments due to type incompatibility

Change-Id: Id52286760a5c65510734337d5d9ee98dd0363303
Reviewed-on: https://review.typo3.org/31367
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters