From d73d606f11897f13e3779c76261be6f96139f0e0 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 9 Aug 2014 15:55:40 +0200 Subject: [ticket/11854] Fix various comments PHPBB3-11854 --- phpBB/phpbb/captcha/factory.php | 8 ++++++-- phpBB/phpbb/captcha/plugins/recaptcha.php | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/phpBB/phpbb/captcha/factory.php b/phpBB/phpbb/captcha/factory.php index 6164b12e85..838f8a4ccd 100644 --- a/phpBB/phpbb/captcha/factory.php +++ b/phpBB/phpbb/captcha/factory.php @@ -40,8 +40,12 @@ class factory $this->plugins = $plugins; } - //static public function get_instance($name) - + /** + * Return a new instance of a given plugin + * + * @param $name + * @return object + */ public function get_instance($name) { return $this->container->get($name); diff --git a/phpBB/phpbb/captcha/plugins/recaptcha.php b/phpBB/phpbb/captcha/plugins/recaptcha.php index 9fffea756e..ca131ba8a0 100644 --- a/phpBB/phpbb/captcha/plugins/recaptcha.php +++ b/phpBB/phpbb/captcha/plugins/recaptcha.php @@ -72,7 +72,7 @@ class recaptcha extends \phpbb\captcha\plugins\captcha_abstract } /** - * @return string the name of the class used to generate the captcha + * This function is implemented because required by the upper class, but is never used for reCaptcha. */ function get_generator_class() { -- cgit v1.2.1