1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +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

@@ -218,7 +218,7 @@ class add_config_settings extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -173,7 +173,7 @@ class add_default_data extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -129,7 +129,7 @@ class add_tables extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -157,7 +157,7 @@ class create_schema_file extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -121,7 +121,7 @@ class set_up_database extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -171,7 +171,7 @@ class update_user_and_post_data extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}