diff --git a/src/Validator/Validator.php b/src/Validator/Validator.php index ff8e0f2..8d94c33 100644 --- a/src/Validator/Validator.php +++ b/src/Validator/Validator.php @@ -19,11 +19,11 @@ interface Validator { /** - * Validates the provided input and returns a boolean indicating if the input is valid. + * Validates the provided input and returns the validated result. * * @param mixed $input The value to be validated * - * @return bool True if the input is valid, false otherwise + * @return mixed The validated result */ - public function validate(mixed $input): bool; + public function validate(mixed $input): mixed; }