Code Duplication    Length = 9-10 lines in 2 locations

modules/otp.php 1 location

@@ 52-61 (lines=10) @@
49
	 * @param \phpbb\template\template          $template
50
	 * @param string                            $otp_registration_table
51
	 */
52
	public function __construct(driver_interface $db, user $user, request_interface $request, template $template, $otp_registration_table)
53
	{
54
		$this->otp_helper = new OTPHelper();
55
		$this->otp = new OTPAuthenticate();
56
		$this->db = $db;
57
		$this->user = $user;
58
		$this->request = $request;
59
		$this->template = $template;
60
		$this->otp_registration_table = $otp_registration_table;
61
	}
62
63
	/**
64
	 * Get a language key for this specific module.

modules/backup_key.php 1 location

@@ 53-61 (lines=9) @@
50
	 * @param \phpbb\passwords\manager          $password_manager
51
	 * @param string                            $backup_registration_table
52
	 */
53
	public function __construct(driver_interface $db, user $user, request_interface $request, template $template, manager $password_manager, $backup_registration_table)
54
	{
55
		$this->db = $db;
56
		$this->user = $user;
57
		$this->request = $request;
58
		$this->template = $template;
59
		$this->backup_registration_table = $backup_registration_table;
60
		$this->password_manager = $password_manager;
61
	}
62
63
	/**
64
	 * Get a language key for this specific module.