Skip to content

Commit

Permalink
[ticket/10575] Adding public visibility to the methods.
Browse files Browse the repository at this point in the history
Added public visibility to the methods

PHPBB3-10575
  • Loading branch information
brunoais committed Apr 5, 2012
1 parent c8da69d commit 2bf1c4e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion phpBB/includes/captcha/captcha_factory.php
Expand Up @@ -25,7 +25,7 @@ class phpbb_captcha_factory
/**
* return an instance of class $name in file $name_plugin.php
*/
static function get_instance($name)
public static function get_instance($name)
{
global $phpbb_root_path, $phpEx;

Expand Down
2 changes: 1 addition & 1 deletion phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
Expand Up @@ -49,7 +49,7 @@ function phpbb_captcha_gd()
}
}

static function get_instance()
public static function get_instance()
{
$instance = new phpbb_captcha_gd();
return $instance;
Expand Down
Expand Up @@ -39,7 +39,7 @@ function phpbb_captcha_gd_wave()
}
}

static function get_instance()
public static function get_instance()
{
return new phpbb_captcha_gd_wave();
}
Expand Down
Expand Up @@ -39,7 +39,7 @@ function phpbb_captcha_nogd()
}
}

static function get_instance()
public static function get_instance()
{
$instance = new phpbb_captcha_nogd();
return $instance;
Expand Down
2 changes: 1 addition & 1 deletion phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
Expand Up @@ -98,7 +98,7 @@ function init($type)
/**
* API function
*/
static function get_instance()
public static function get_instance()
{
$instance = new phpbb_captcha_qa();

Expand Down
2 changes: 1 addition & 1 deletion phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
Expand Up @@ -54,7 +54,7 @@ function init($type)
$this->response = request_var('recaptcha_response_field', '');
}

static function get_instance()
public static function get_instance()
{
$instance = new phpbb_recaptcha();
return $instance;
Expand Down

0 comments on commit 2bf1c4e

Please sign in to comment.