Code Duplication    Length = 13-15 lines in 2 locations

lib/Service/CirclesService.php 1 location

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

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
	/**