Skip to content

Commit b25e190

Browse files
committed
fix stan
1 parent 2e5e138 commit b25e190

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Rules/RemoteURL.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
1818
{
1919
if (!is_string($value)) {
2020
$fail("Invalid URL: URL must be a string.");
21+
22+
return;
2123
}
2224

2325
$host = parse_url($value, PHP_URL_HOST);

0 commit comments

Comments
 (0)