1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[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');
}
public static function depends_on()
static public function depends_on()
{
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,
);
public static function depends_on()
static public function depends_on()
{
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');
}
public static function depends_on()
static public function depends_on()
{
return [
'\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');
}
public static function depends_on()
static public function depends_on()
{
return [
'\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');
}
public static function depends_on()
static public function depends_on()
{
return [
'\phpbb\db\migration\data\v330\v330',

View File

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

View File

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

View File

@ -24,7 +24,7 @@ use Symfony\Component\Debug\ExceptionHandler;
*/
class debug
{
private static $enabled = false;
static private $enabled = false;
/**
* Enables the debug tools.
@ -37,7 +37,7 @@ class debug
* @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)
*/
public static function enable($errorReportingLevel = null, $displayErrors = true)
static public function enable($errorReportingLevel = null, $displayErrors = true)
{
if (static::$enabled)
{