utils: Fix return doc about false/null for UrlUtils::expand

Change-Id: Idc576341492cc5b643d7f24e4f306a8f42a7147d
This commit is contained in:
Umherirrender 2022-10-04 22:16:12 +02:00
parent 05d701a2a4
commit dd61cef9e6

View file

@ -112,7 +112,7 @@ class UrlUtils {
* @param string $url Either fully-qualified or a local path + query
* @param string|int|null $defaultProto One of the PROTO_* constants. Determines the
* protocol to use if $url or SERVER is protocol-relative
* @return ?string Fully-qualified URL, current-path-relative URL or false if
* @return ?string Fully-qualified URL, current-path-relative URL or null if
* no valid URL can be constructed
*/
public function expand( string $url, $defaultProto = PROTO_FALLBACK ): ?string {