From 5983e15f2634f3344bd55f3284e5c1dcd4d96f33 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:37:34 +0100 Subject: [PATCH] Update InstanceValidator.php to use "protected" keyword --- src/Validators/InstanceValidator.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Validators/InstanceValidator.php b/src/Validators/InstanceValidator.php index 5978afed..f14a5de8 100644 --- a/src/Validators/InstanceValidator.php +++ b/src/Validators/InstanceValidator.php @@ -4,7 +4,11 @@ class InstanceValidator extends BaseValidator { - private $classname; + /** + * @var string + */ + protected $classname; + public function __construct($classname) { $this->classname = $classname;