Skip to content

Kirby 4.4.1

Url::fix()

Tries to fix a broken url without protocol

Url::fix(?string $url = null): string|null

Parameters

Name Type Default
$url string|null null

Return type

string|null

Parent class

Kirby\Http\Url