From 90200512e0bd68ccbd6a554d6d3c52ae824e3c30 Mon Sep 17 00:00:00 2001 From: Manuel Dublanc Date: Fri, 10 Jan 2020 09:41:49 +0100 Subject: [PATCH] Open Validator fields to be accessible from child classes. --- Validator/CaptchaValidator.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Validator/CaptchaValidator.php b/Validator/CaptchaValidator.php index cdabc8e..532a157 100644 --- a/Validator/CaptchaValidator.php +++ b/Validator/CaptchaValidator.php @@ -17,42 +17,42 @@ class CaptchaValidator { /** @var SessionInterface */ - private $session; + protected $session; /** * Session key to store the code. * * @var string */ - private $key; + protected $key; /** * Error message text for non-matching submissions. * * @var string */ - private $invalidMessage; + protected $invalidMessage; /** * Configuration parameter used to bypass a required code match. * * @var string */ - private $bypassCode; + protected $bypassCode; /** * Number of form that the user can submit without captcha. * * @var int */ - private $humanity; + protected $humanity; /** * Translator. * * @var TranslatorInterface */ - private $translator; + protected $translator; public function __construct( TranslatorInterface $translator,