Add return types to core/tests code via Rector - round 2

Closes #3562361

Merge request reports

Loading