Task #97832
closedUpdate return type for GeneralUtility::getURL
100%
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.
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75017
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75017
Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75017
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75017
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74945
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d7030ce8d34de45641010aaca71d6850d277b5e8.