Code Duplication    Length = 15-17 lines in 2 locations

lib/MailQueueHandler.php 1 location

@@ 86-100 (lines=15) @@
83
	 * @param IUserManager $userManager
84
	 * @param IManager $activityManager
85
	 */
86
	public function __construct(IDateTimeFormatter $dateFormatter,
87
								IDBConnection $connection,
88
								DataHelper $dataHelper,
89
								IMailer $mailer,
90
								IURLGenerator $urlGenerator,
91
								IUserManager $userManager,
92
								IManager $activityManager) {
93
		$this->dateFormatter = $dateFormatter;
94
		$this->connection = $connection;
95
		$this->dataHelper = $dataHelper;
96
		$this->mailer = $mailer;
97
		$this->urlGenerator = $urlGenerator;
98
		$this->userManager = $userManager;
99
		$this->activityManager = $activityManager;
100
	}
101
102
	/**
103
	 * Get the users we want to send an email to

lib/Parameter/Factory.php 1 location

@@ 74-90 (lines=17) @@
71
	 * @param IL10N $l
72
	 * @param string $user
73
	 */
74
	public function __construct(IManager $activityManager,
75
								IUserManager $userManager,
76
								IURLGenerator $urlGenerator,
77
								IContactsManager $contactsManager,
78
								ViewInfoCache $infoCache,
79
								IL10N $l,
80
								IGroupManager $groupManager,
81
								$user) {
82
		$this->activityManager = $activityManager;
83
		$this->userManager = $userManager;
84
		$this->urlGenerator = $urlGenerator;
85
		$this->contactsManager = $contactsManager;
86
		$this->infoCache = $infoCache;
87
		$this->l = $l;
88
		$this->groupManager = $groupManager;
89
		$this->user = $user;
90
	}
91
92
	/**
93
	 * @param string $user