Fixed PHPStan errors in core/modules/link/tests

Closes #3562142

Merge request reports

Loading