We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b25e190 commit 51823c1Copy full SHA for 51823c1
app/Rules/RemoteURL.php
@@ -22,7 +22,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
22
return;
23
}
24
25
- $host = parse_url($value, PHP_URL_HOST);
+ $host = (string) parse_url($value, PHP_URL_HOST);
26
$ips = App::make(DNSLookup::class)->getIPs($host);
27
28
// Could not resolve given address
0 commit comments