mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[ticket/16736] Fix invalid placement of visibility qualifiers next to static
PHPBB3-16736
This commit is contained in:
parent
0897d3e381
commit
a8ffd339fe
@ -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',];
|
||||
}
|
||||
|
@ -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',];
|
||||
}
|
||||
|
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user