Code Duplication    Length = 14-16 lines in 3 locations

lib/Command/Index.php 1 location

@@ 171-186 (lines=16) @@
168
	 * @param ProviderService $providerService
169
	 * @param MiscService $miscService
170
	 */
171
	public function __construct(
172
		IUserManager $userManager, RunningService $runningService, CliService $cliService,
173
		IndexService $indexService, PlatformService $platformService,
174
		ProviderService $providerService, MiscService $miscService
175
	) {
176
		parent::__construct();
177
		$this->userManager = $userManager;
178
179
		$this->runningService = $runningService;
180
		$this->cliService = $cliService;
181
		$this->indexService = $indexService;
182
183
		$this->platformService = $platformService;
184
		$this->providerService = $providerService;
185
		$this->miscService = $miscService;
186
	}
187
188
189
	/**

lib/Command/Test.php 1 location

@@ 108-121 (lines=14) @@
105
	 * @param TestService $testService
106
	 * @param MiscService $miscService
107
	 */
108
	public function __construct(
109
		RunningService $runningService, PlatformService $platformService,
110
		ProviderService $providerService, IndexService $indexService, TestService $testService,
111
		MiscService $miscService
112
	) {
113
		parent::__construct();
114
115
		$this->runningService = $runningService;
116
		$this->platformService = $platformService;
117
		$this->providerService = $providerService;
118
		$this->indexService = $indexService;
119
		$this->testService = $testService;
120
		$this->miscService = $miscService;
121
	}
122
123
124
	/**

lib/Service/SearchService.php 1 location

@@ 98-112 (lines=15) @@
95
	 * @param PlatformService $platformService
96
	 * @param MiscService $miscService
97
	 */
98
	public function __construct(
99
		$userId, AppManager $appManager, IUserManager $userManager,
100
		IGroupManager $groupManager,
101
		ConfigService $configService, ProviderService $providerService,
102
		PlatformService $platformService,
103
		MiscService $miscService
104
	) {
105
		$this->userId = $userId;
106
		$this->appManager = $appManager;
107
		$this->userManager = $userManager;
108
		$this->groupManager = $groupManager;
109
		$this->configService = $configService;
110
		$this->providerService = $providerService;
111
		$this->platformService = $platformService;
112
		$this->miscService = $miscService;
113
	}
114
115