[ticket/16736] Fix invalid placement of visibility qualifiers next to static

PHPBB3-16736
This commit is contained in:
Marc Alexander 2021-03-23 22:12:59 +01:00
parent 0897d3e381
commit a8ffd339fe
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
8 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
return $this->config->offsetExists('display_unapproved_posts'); return $this->config->offsetExists('display_unapproved_posts');
} }
public static function depends_on() static public function depends_on()
{ {
return ['\phpbb\db\migration\data\v330\dev',]; return ['\phpbb\db\migration\data\v330\dev',];
} }

View file

@ -24,7 +24,7 @@ class remove_attachment_flash extends \phpbb\db\migration\migration
self::ATTACHMENT_CATEGORY_FLASH, self::ATTACHMENT_CATEGORY_FLASH,
); );
public static function depends_on() static public function depends_on()
{ {
return ['\phpbb\db\migration\data\v330\dev',]; return ['\phpbb\db\migration\data\v330\dev',];
} }

View file

@ -20,7 +20,7 @@ class remove_max_pass_chars extends \phpbb\db\migration\migration
return !$this->config->offsetExists('max_pass_chars'); return !$this->config->offsetExists('max_pass_chars');
} }
public static function depends_on() static public function depends_on()
{ {
return [ return [
'\phpbb\db\migration\data\v330\dev', '\phpbb\db\migration\data\v330\dev',

View file

@ -20,7 +20,7 @@ class default_search_return_chars extends \phpbb\db\migration\migration
return $this->config->offsetExists('default_search_return_chars'); return $this->config->offsetExists('default_search_return_chars');
} }
public static function depends_on() static public function depends_on()
{ {
return [ return [
'\phpbb\db\migration\data\v330\v330', '\phpbb\db\migration\data\v330\v330',

View file

@ -20,7 +20,7 @@ class google_recaptcha_v3 extends \phpbb\db\migration\migration
return $this->config->offsetExists('recaptcha_v3_key'); return $this->config->offsetExists('recaptcha_v3_key');
} }
public static function depends_on() static public function depends_on()
{ {
return [ return [
'\phpbb\db\migration\data\v330\v330', '\phpbb\db\migration\data\v330\v330',

View file

@ -30,7 +30,7 @@ class mssql extends tools
* *
* @return array * @return array
*/ */
public static function get_dbms_type_map() static public function get_dbms_type_map()
{ {
return array( return array(
'mssql' => array( 'mssql' => array(

View file

@ -24,7 +24,7 @@ class postgres extends tools
* *
* @return array * @return array
*/ */
public static function get_dbms_type_map() static public function get_dbms_type_map()
{ {
return array( return array(
'postgres' => array( 'postgres' => array(

View file

@ -24,7 +24,7 @@ use Symfony\Component\Debug\ExceptionHandler;
*/ */
class debug class debug
{ {
private static $enabled = false; static private $enabled = false;
/** /**
* Enables the debug tools. * Enables the debug tools.
@ -37,7 +37,7 @@ class debug
* @param int $errorReportingLevel The level of error reporting you want * @param int $errorReportingLevel The level of error reporting you want
* @param bool $displayErrors Whether to display errors (for development) or just log them (for production) * @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
*/ */
public static function enable($errorReportingLevel = null, $displayErrors = true) static public function enable($errorReportingLevel = null, $displayErrors = true)
{ {
if (static::$enabled) if (static::$enabled)
{ {