Follow og pattern and add both PHP attribute and leave annotations in there for 10.3 compat

Closes #3579240

Merge request reports

Loading