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:
@@ -177,7 +177,7 @@ class qa
|
||||
/**
|
||||
* API function
|
||||
*/
|
||||
static public function get_name()
|
||||
public static function get_name()
|
||||
{
|
||||
return 'CAPTCHA_QA';
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ class recaptcha extends captcha_abstract
|
||||
return true;
|
||||
}
|
||||
|
||||
static public function get_name()
|
||||
public static function get_name()
|
||||
{
|
||||
return 'CAPTCHA_RECAPTCHA';
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user