Skip to content

Commit e0f4f7b

Browse files
committed
dev(internal): use isValid method inside toArray.
1 parent ce84854 commit e0f4f7b

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
@@ -83,7 +83,7 @@ public function toString(): string
8383
public function toArray(): array
8484
{
8585
return [
86-
'valid' => !empty($this->tld()),
86+
'valid' => $this->isValid(),
8787
'original' => $this->original(),
8888
'host' => $this->toString(),
8989
'domain' => $this->domain(),

0 commit comments

Comments
 (0)