Fix: Force baseUrl being a string

This commit is contained in:
Michael
2023-04-15 14:17:30 +00:00
parent 68d9e1f33c
commit b0f880d0eb
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ HELP;
$this->out(sprintf('Relocation started from %s to %s. Could take a while to complete.', $this->baseUrl, $this->getArgument(0)));
$old_url = $this->baseUrl;
$old_url = (string)$this->baseUrl;
// Generate host names for relocation the addresses in the format user@address.tld
$new_host = str_replace('http://', '@', Strings::normaliseLink($new_url));