Fix PHP8.4 compatibility.

Closes #3575896

Merge request reports

Loading