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

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