Code Duplication    Length = 11-12 lines in 6 locations

modules/attachments.php 1 location

@@ 84-95 (lines=12) @@
81
	* @param string $phpbb_root_path phpBB root path
82
	* @param \phpbb\user $user phpBB user object
83
	*/
84
	public function __construct($auth, $config, $helper, $template, $db, $request, $phpEx, $phpbb_root_path, $user)
85
	{
86
		$this->auth = $auth;
87
		$this->config = $config;
88
		$this->helper = $helper;
89
		$this->template = $template;
90
		$this->db = $db;
91
		$this->request = $request;
92
		$this->php_ext = $phpEx;
93
		$this->phpbb_root_path = $phpbb_root_path;
94
		$this->user = $user;
95
	}
96
97
	/**
98
	* {@inheritdoc}

modules/custom.php 1 location

@@ 89-99 (lines=11) @@
86
	* @param \phpbb\user $user phpBB user object
87
	* @param \phpbb\log\log $log phpBB log
88
	*/
89
	public function __construct($config, $template, $db, $request, $phpbb_root_path, $phpEx, $user, $log)
90
	{
91
		$this->config = $config;
92
		$this->template = $template;
93
		$this->db = $db;
94
		$this->request = $request;
95
		$this->php_ext = $phpEx;
96
		$this->phpbb_root_path = $phpbb_root_path;
97
		$this->user = $user;
98
		$this->log = $log;
99
	}
100
101
	/**
102
	* {@inheritdoc}

modules/links.php 1 location

@@ 95-105 (lines=11) @@
92
	* @param \phpbb\user $user phpBB user object
93
	* @param \phpbb\log\log phpBB log
94
	*/
95
	public function __construct($config, $db, $request, $template, $phpbb_root_path, $phpEx, $user, $log)
96
	{
97
		$this->config = $config;
98
		$this->db = $db;
99
		$this->request = $request;
100
		$this->template = $template;
101
		$this->php_ext = $phpEx;
102
		$this->phpbb_root_path = $phpbb_root_path;
103
		$this->user = $user;
104
		$this->log = $log;
105
	}
106
107
	/**
108
	* {@inheritdoc}

modules/main_menu.php 1 location

@@ 96-106 (lines=11) @@
93
	* @param \phpbb\user $user phpBB user object
94
	* @param \phpbb\log\log $log phpBB log
95
	*/
96
	public function __construct($config, $db, $request, $template, $phpbb_root_path, $phpEx, $user, $log)
97
	{
98
		$this->config = $config;
99
		$this->db = $db;
100
		$this->request = $request;
101
		$this->template = $template;
102
		$this->phpbb_root_path = $phpbb_root_path;
103
		$this->php_ext = $phpEx;
104
		$this->user = $user;
105
		$this->log = $log;
106
	}
107
108
	/**
109
	* {@inheritdoc}

modules/poll.php 1 location

@@ 90-101 (lines=12) @@
87
	* @param \phpbb\user $user phpBB user object
88
	* @param \board3\portal\includes\modules_helper $modules_helper Modules helper
89
	*/
90
	public function __construct($auth, $config, $db, $request, $template, $phpbb_root_path, $phpEx, $user, $modules_helper)
91
	{
92
		$this->auth = $auth;
93
		$this->config = $config;
94
		$this->db = $db;
95
		$this->request = $request;
96
		$this->template = $template;
97
		$this->php_ext = $phpEx;
98
		$this->phpbb_root_path = $phpbb_root_path;
99
		$this->user = $user;
100
		$this->modules_helper = $modules_helper;
101
	}
102
103
	/**
104
	* {@inheritdoc}

modules/user_menu.php 1 location

@@ 84-95 (lines=12) @@
81
	* @param string $phpbb_root_path phpBB root path
82
	* @param string $phpEx php file extension
83
	*/
84
	public function __construct($auth, $config, $controller_helper, $db, $path_helper, $template, $user, $phpbb_root_path, $phpEx)
85
	{
86
		$this->auth = $auth;
87
		$this->config = $config;
88
		$this->controller_helper = $controller_helper;
89
		$this->db = $db;
90
		$this->path_helper = $path_helper;
91
		$this->template = $template;
92
		$this->user = $user;
93
		$this->phpbb_root_path = $phpbb_root_path;
94
		$this->php_ext = $phpEx;
95
	}
96
97
	/**
98
	* {@inheritdoc}