From 1156fd9913565631a5de13024d0f3395b9c4adbb Mon Sep 17 00:00:00 2001 From: Kabirou ALASSANE Date: Sat, 18 Nov 2023 05:15:46 +0100 Subject: [PATCH] Fix "Validation rule 'url' not found" issue --- src/RulesMaped.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RulesMaped.php b/src/RulesMaped.php index d10056d..fc221ac 100644 --- a/src/RulesMaped.php +++ b/src/RulesMaped.php @@ -94,7 +94,7 @@ protected static function getRules(): array */ protected static function getRule(string $alias): string { - if (isset(self::$rules[$alias]) && class_exists(self::$rules[$alias])) { + if (isset(self::$rules[$alias])) { return self::$rules[$alias]; }