diff options
| author | Asko Nõmm <asko@repl.ee> | 2023-09-25 01:35:47 +0300 |
|---|---|---|
| committer | Asko Nõmm <asko@repl.ee> | 2023-09-25 01:35:47 +0300 |
| commit | ef1dd318d437bb33adddf226c546e85f4744ce8c (patch) | |
| tree | 8910bd4cc0b2ce2827aecfa19ecf2453058af575 /src/Validators/Validator.php | |
| parent | d2a1290423e1102b23fc8e042cef5420a42c02af (diff) | |
Update stuff
Diffstat (limited to 'src/Validators/Validator.php')
| -rw-r--r-- | src/Validators/Validator.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Validators/Validator.php b/src/Validators/Validator.php index 8e5e994..d7c1a20 100644 --- a/src/Validators/Validator.php +++ b/src/Validators/Validator.php @@ -1,9 +1,11 @@ <?php -namespace Askonomm\Hird\Validators; +declare(strict_types=1); + +namespace Asko\Hird\Validators; interface Validator { - public static function validate(string $field, mixed $value, mixed $modifier = null): bool; - public static function composeError(string $field, mixed $modifier = null): string; + public function validate(string $field, mixed $value, mixed $modifier = null): bool; + public function composeError(string $field, mixed $modifier = null): string; } |
