1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +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

@@ -689,7 +689,7 @@ class mcp_queue
* @param $mode string Active module
* @return null
*/
static public function approve_posts($action, $post_id_list, $id, $mode)
public static function approve_posts($action, $post_id_list, $id, $mode)
{
global $template, $user, $request, $phpbb_container, $phpbb_dispatcher;
global $phpEx, $phpbb_root_path, $phpbb_log;
@@ -945,7 +945,7 @@ class mcp_queue
* @param $mode string Active module
* @return null
*/
static public function approve_topics($action, $topic_id_list, $id, $mode)
public static function approve_topics($action, $topic_id_list, $id, $mode)
{
global $db, $template, $user, $phpbb_log;
global $phpEx, $phpbb_root_path, $request, $phpbb_container, $phpbb_dispatcher;
@@ -1143,7 +1143,7 @@ class mcp_queue
* @param $mode string Active module
* @return null
*/
static public function disapprove_posts($post_id_list, $id, $mode)
public static function disapprove_posts($post_id_list, $id, $mode)
{
global $db, $template, $user, $phpbb_container, $phpbb_dispatcher;
global $phpEx, $phpbb_root_path, $request, $phpbb_log;