From 96d16213f8dcd31dc5b2c8f25d174714b71613f6 Mon Sep 17 00:00:00 2001 From: elias-playfinder <127537591+elias-playfinder@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:07:10 +0200 Subject: [PATCH] Make it compatible with PHP 8.2 (#110) * Make it compatible with PHP 8.2 * Make it compatible with PHP 5.4 --- src/Validators/BaseValidator.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Validators/BaseValidator.php b/src/Validators/BaseValidator.php index 6549bd93..c325b265 100644 --- a/src/Validators/BaseValidator.php +++ b/src/Validators/BaseValidator.php @@ -4,6 +4,11 @@ class BaseValidator implements ValidatorInterface { + /** + * @var string + */ + protected $classname; + /** * Coerce given value to the type the validator is validating against. * PLEASE NOTE: no checks are performed on the given $value.