Code Duplication    Length = 19-19 lines in 2 locations

lib/Service/CirclesService.php 1 location

@@ 78-96 (lines=19) @@
75
	 * @param EventsService $eventsService
76
	 * @param MiscService $miscService
77
	 */
78
	public function __construct(
79
		$userId,
80
		IL10N $l10n,
81
		ConfigService $configService,
82
		CirclesRequest $circlesRequest,
83
		DatabaseService $databaseService,
84
		EventsService $eventsService,
85
		MiscService $miscService
86
	) {
87
		$this->userId = $userId;
88
		$this->l10n = $l10n;
89
		$this->configService = $configService;
90
		$this->circlesRequest = $circlesRequest;
91
		$this->eventsService = $eventsService;
92
		$this->miscService = $miscService;
93
94
		$this->dbCircles = $databaseService->getCirclesMapper();
95
		$this->dbMembers = $databaseService->getMembersMapper();
96
	}
97
98
99
	/**

lib/Service/MembersService.php 1 location

@@ 68-86 (lines=19) @@
65
	/** @var MiscService */
66
	private $miscService;
67
68
	public function __construct(
69
		$userId,
70
		IL10N $l10n,
71
		IUserManager $userManager,
72
		ConfigService $configService,
73
		DatabaseService $databaseService,
74
		EventsService $eventsService,
75
		MiscService $miscService
76
	) {
77
		$this->userId = $userId;
78
		$this->l10n = $l10n;
79
		$this->userManager = $userManager;
80
		$this->configService = $configService;
81
		$this->eventsService = $eventsService;
82
		$this->miscService = $miscService;
83
84
		$this->dbCircles = $databaseService->getCirclesMapper();
85
		$this->dbMembers = $databaseService->getMembersMapper();
86
	}
87
88
89
	/**