Breaking: #101186 - Strict typing in UnableToLinkException

See forge#101186

Description

The class constructor in \TYPO3\CMS\Frontend\Exception\UnableToLinkException is now strictly typed. In addition the variable $linkText has type string.

Impact

The class constructor is now strictly typed.

Affected installations

TYPO3 sites using the \TYPO3\CMS\Frontend\Exception\UnableToLinkException exception.

Migration

Ensure that the class constructor is called properly, according to the changed signature:

__construct(string $message = '', int $code = 0, ?\Throwable $previous = null, string $linkText = '')