Skip to content

Commit 60634c8

Browse files
committed
Fix typo
1 parent 1f39828 commit 60634c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Host/Host.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function tld(?string $tld = null): string|self
3838

3939
$this->tld = $tld;
4040

41-
$escaped = str_replace('.', '\.', '.' . strval($this->host));
41+
$escaped = str_replace('.', '\.', '.' . strval($this->tld));
4242

4343
/** @var string $root */
4444
$root = preg_replace("/$escaped$/", '', strval($this->host));

0 commit comments

Comments
 (0)