Fix: a return was forgot.
This commit is contained in:
parent
59fff2a586
commit
cc3cb6be41
@ -141,7 +141,7 @@ class Validator {
|
||||
*/
|
||||
public static function url(mixed $subject): bool
|
||||
{
|
||||
filter_var($subject, FILTER_VALIDATE_URL);
|
||||
return filter_var($subject, FILTER_VALIDATE_URL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user