From cc3cb6be41bb22ddc559a827821374f245379bf9 Mon Sep 17 00:00:00 2001 From: KJ Date: Sat, 25 May 2024 17:11:07 -0400 Subject: [PATCH] Fix: a return was forgot. --- src/Libs/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libs/Validator.php b/src/Libs/Validator.php index eee9f4e..995ceb2 100644 --- a/src/Libs/Validator.php +++ b/src/Libs/Validator.php @@ -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); } /**