utils: Fix return doc about false/null for UrlUtils::expand
Change-Id: Idc576341492cc5b643d7f24e4f306a8f42a7147d
This commit is contained in:
parent
05d701a2a4
commit
dd61cef9e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue