1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/16748] Enable code sniffing for static placement and adjust code

PHPBB3-16748
This commit is contained in:
Marc Alexander
2021-04-03 23:12:04 +02:00
parent 8518393c46
commit ce08da5165
387 changed files with 459 additions and 459 deletions

View File

@@ -177,7 +177,7 @@ class qa
/**
* API function
*/
static public function get_name()
public static function get_name()
{
return 'CAPTCHA_QA';
}

View File

@@ -53,7 +53,7 @@ class recaptcha extends captcha_abstract
return true;
}
static public function get_name()
public static function get_name()
{
return 'CAPTCHA_RECAPTCHA';
}

View File

@@ -32,7 +32,7 @@ class recaptcha_v3 extends captcha_abstract
const RECAPTCHA = 'recaptcha.net';
/** @var array CAPTCHA types mapped to their action */
static protected $actions = [
protected static $actions = [
0 => 'default',
CONFIRM_REG => 'register',
CONFIRM_LOGIN => 'login',
@@ -46,7 +46,7 @@ class recaptcha_v3 extends captcha_abstract
* @static
* @return array
*/
static public function get_actions()
public static function get_actions()
{
return self::$actions;
}