Code Duplication    Length = 15-15 lines in 2 locations

lib/Service/MembersService.php 1 location

@@ 61-75 (lines=15) @@
58
	/** @var MiscService */
59
	private $miscService;
60
61
	public function __construct(
62
		$userId,
63
		IL10N $l10n,
64
		IUserManager $userManager,
65
		ConfigService $configService,
66
		DatabaseService $databaseService,
67
		MiscService $miscService
68
	) {
69
		$this->userId = $userId;
70
		$this->l10n = $l10n;
71
		$this->userManager = $userManager;
72
		$this->configService = $configService;
73
		$this->databaseService = $databaseService;
74
		$this->miscService = $miscService;
75
	}
76
77
78
	/**

lib/Service/CirclesService.php 1 location

@@ 67-81 (lines=15) @@
64
	 * @param DatabaseService $databaseService
65
	 * @param MiscService $miscService
66
	 */
67
	public function __construct(
68
		$userId,
69
		IL10N $l10n,
70
		ConfigService $configService,
71
		DatabaseService $databaseService,
72
		MiscService $miscService
73
	) {
74
		$this->userId = $userId;
75
		$this->l10n = $l10n;
76
		$this->configService = $configService;
77
		$this->miscService = $miscService;
78
79
		$this->dbCircles = $databaseService->getCirclesMapper();
80
		$this->dbMembers = $databaseService->getMembersMapper();
81
	}
82
83
84
	/**