aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/captcha/factory.php8
-rw-r--r--phpBB/phpbb/captcha/plugins/recaptcha.php2
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()
{