Skip to content

Commit

Permalink
Update DomainRecordManager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschlick committed Nov 27, 2022
1 parent 77a1142 commit ad46898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Managers/DomainRecordManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function get(int $id): DomainRecordInterface
public function setDomain(ManagedDomainInterface $domain): DomainRecordManagerInterface
{
$this->domain = $domain;
$this->baseUri = str_replace(':domain', $domain->id, $this->baseUri);
$this->baseUri = str_replace(':domain', (string) $domain->id, $this->baseUri);
return $this;
}

Expand Down Expand Up @@ -101,4 +101,4 @@ public function __get($name)
return $this->multipleRecordManager;
}
}
}
}

0 comments on commit ad46898

Please sign in to comment.