From 08ab64a3b20e6f9cd211d03ce9d87f4d3b2eda5d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 20 Oct 2024 09:04:36 +0200 Subject: [PATCH] [ticket/17414] Improve docblocks in legacy wrapper PHPBB-17414 --- phpBB/phpbb/captcha/plugins/legacy_wrapper.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpBB/phpbb/captcha/plugins/legacy_wrapper.php b/phpBB/phpbb/captcha/plugins/legacy_wrapper.php index 8f8642b2b2..cc0609f4b0 100644 --- a/phpBB/phpbb/captcha/plugins/legacy_wrapper.php +++ b/phpBB/phpbb/captcha/plugins/legacy_wrapper.php @@ -15,8 +15,10 @@ namespace phpbb\captcha\plugins; class legacy_wrapper implements plugin_interface { + /** @var object Legacy CAPTCHA instance, should implement functionality as required in phpBB 3.3 */ private $legacy_captcha; + /** @var string Last error */ private string $last_error; /** @@ -206,6 +208,9 @@ class legacy_wrapper implements plugin_interface } } + /** + * {@inheritDoc} + */ public function acp_page($id, $module): void { if (method_exists($this->legacy_captcha, 'acp_page'))