Add explicit nullable types for PHP 8.4

Closes #3570242

Merge request reports

Loading