Skip to content

Commit 51823c1

Browse files
committed
fix stan
1 parent b25e190 commit 51823c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Rules/RemoteURL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
2222
return;
2323
}
2424

25-
$host = parse_url($value, PHP_URL_HOST);
25+
$host = (string) parse_url($value, PHP_URL_HOST);
2626
$ips = App::make(DNSLookup::class)->getIPs($host);
2727

2828
// Could not resolve given address

0 commit comments

Comments
 (0)