Remove union type to allow PHP 7 compatibility.

Closes #3518061

Merge request reports

Loading