Code Duplication    Length = 7-8 lines in 5 locations

modules/birthday_list.php 1 location

@@ 64-70 (lines=7) @@
61
	* @param \phpbb\db\driver\driver_interface $db Database driver
62
	* @param \phpbb\user $user phpBB user object
63
	*/
64
	public function __construct($config, $template, $db, $user)
65
	{
66
		$this->config = $config;
67
		$this->template = $template;
68
		$this->db = $db;
69
		$this->user = $user;
70
	}
71
72
	/**
73
	* {@inheritdoc}

modules/friends.php 1 location

@@ 68-75 (lines=8) @@
65
	* @param \phpbb\template $template phpBB template
66
	* @param \phpbb\user $user phpBB user object
67
	*/
68
	public function __construct($auth, $config, $db, $template, $user)
69
	{
70
		$this->auth = $auth;
71
		$this->config = $config;
72
		$this->db = $db;
73
		$this->template = $template;
74
		$this->user = $user;
75
	}
76
77
	/**
78
	* {@inheritdoc}

modules/latest_bots.php 1 location

@@ 69-75 (lines=7) @@
66
	* @param \phpbb\template\template $template phpBB template
67
	* @param \phpbb\user $user phpBB user object
68
	*/
69
	public function __construct($config, $db, $template, $user)
70
	{
71
		$this->config = $config;
72
		$this->db = $db;
73
		$this->template = $template;
74
		$this->user = $user;
75
	}
76
77
	/**
78
	* {@inheritdoc}

modules/latest_members.php 1 location

@@ 64-70 (lines=7) @@
61
	* @param \phpbb\template\template $template phpBB template
62
	* @param \phpbb\user $user phpBB user object
63
	*/
64
	public function __construct($config, $db, $template, $user)
65
	{
66
		$this->config = $config;
67
		$this->db = $db;
68
		$this->template = $template;
69
		$this->user = $user;
70
	}
71
72
	/**
73
	* {@inheritdoc}

modules/statistics.php 1 location

@@ 77-84 (lines=8) @@
74
	* @param \phpbb\template\template $template phpBB template
75
	* @param \phpbb\user $user phpBB user object
76
	*/
77
	public function __construct($cache, $config, $db, $template, $user)
78
	{
79
		$this->cache = $cache;
80
		$this->config = $config;
81
		$this->db = $db;
82
		$this->template = $template;
83
		$this->user = $user;
84
	}
85
86
	/**
87
	* {@inheritdoc}