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 2e5e138 commit b25e190Copy full SHA for b25e190
app/Rules/RemoteURL.php
@@ -18,6 +18,8 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
18
{
19
if (!is_string($value)) {
20
$fail("Invalid URL: URL must be a string.");
21
+
22
+ return;
23
}
24
25
$host = parse_url($value, PHP_URL_HOST);
0 commit comments