Skip to content
Snippets Groups Projects
Commit 256ddbf3 authored by Oliver Klee's avatar Oliver Klee Committed by Christian Kuhn
Browse files

[TASK] Improve type annotations for GU::locationHeaderUrl

This helps PHPStan better analyse code that uses this method.

Resolves: #99133
Releases: main, 11.5
Change-Id: Ia6da1e1f25a9bfd0f493b2c1e244d79aab865c56
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76677


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent df4b99a1
Branches
Tags
No related merge requests found
......@@ -2203,7 +2203,7 @@ class GeneralUtility
* - Otherwise prefixed with TYPO3_REQUEST_DIR (relative to current dir / TYPO3_REQUEST_DIR)
*
* @param string $path URL / path to prepend full URL addressing to.
* @return string
* @return ($path is non-empty-string ? non-empty-string : string)
*/
public static function locationHeaderUrl($path)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment