#97832Update return type for GeneralUtility::getURL
Description
The return type of this function is set to mixed but can only return a string or false.
Having this set to mixed makes phpstan level 9 compliance more complicated than it needs to.
typo3/sysext/core/Classes/Utility/GeneralUtility.php
Line 1695
is
- @return mixed The content from the resource given as input. FALSE if an error has occurred.
and should be
- @return string|false The content from the resource given as input. FALSE if an error has occurred.