#100106UnableToLinkException incompatible with returnLast=result
Description
When using Typolink’s returnLast option ‘result’ (new in TYPO3 11.4) and somehow causing an UnableToLinkException there’s a TypeError!
TYPO3\CMS\Frontend\Typolink\UnableToLinkException::getLinkText(): Return value must be of type string, TYPO3\CMS\Frontend\Typolink\LinkResult returned
Screenshot%20from%202023-03-07%2011-03-51.png
Reviews 5
- main 79531[!!!][TASK] Enforce strict typing in UnableToLinkException
- main 78072[TASK] Add todo for strictly typing class UnableToLinkException
- 11.5 78074[BUGFIX] Fix type error in UnableToLinkException->getLinkText
- main 78049[BUGFIX] Fix type error in UnableToLinkException->getLinkText
- main 78050[BUGFIX] Fix type error in UnableToLinkException->getLinkText