aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-08-09 15:55:40 +0200
committerTristan Darricau <github@nicofuma.fr>2014-08-11 01:16:18 +0200
commitd73d606f11897f13e3779c76261be6f96139f0e0 (patch)
tree3de35c5f3510d54f344b865310a086216e11c924
parent577f9ac7e4989258b7925bc1b9c15986f7dfd748 (diff)
downloadforums-d73d606f11897f13e3779c76261be6f96139f0e0.tar
forums-d73d606f11897f13e3779c76261be6f96139f0e0.tar.gz
forums-d73d606f11897f13e3779c76261be6f96139f0e0.tar.bz2
forums-d73d606f11897f13e3779c76261be6f96139f0e0.tar.xz
forums-d73d606f11897f13e3779c76261be6f96139f0e0.zip
[ticket/11854] Fix various comments
PHPBB3-11854
-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()
{