Code Duplication    Length = 14-16 lines in 2 locations

lib/Command/Test.php 1 location

@@ 97-110 (lines=14) @@
94
	 * @param TestService $testService
95
	 * @param MiscService $miscService
96
	 */
97
	public function __construct(
98
		RunningService $runningService, PlatformService $platformService,
99
		ProviderService $providerService, IndexService $indexService, TestService $testService,
100
		MiscService $miscService
101
	) {
102
		parent::__construct();
103
104
		$this->runningService = $runningService;
105
		$this->platformService = $platformService;
106
		$this->providerService = $providerService;
107
		$this->indexService = $indexService;
108
		$this->testService = $testService;
109
		$this->miscService = $miscService;
110
	}
111
112
113
	/**

lib/Command/Index.php 1 location

@@ 150-165 (lines=16) @@
147
	 * @param ProviderService $providerService
148
	 * @param MiscService $miscService
149
	 */
150
	public function __construct(
151
		IUserManager $userManager, RunningService $runningService, CliService $cliService,
152
		IndexService $indexService, PlatformService $platformService,
153
		ProviderService $providerService, MiscService $miscService
154
	) {
155
		parent::__construct();
156
		$this->userManager = $userManager;
157
158
		$this->runningService = $runningService;
159
		$this->cliService = $cliService;
160
		$this->indexService = $indexService;
161
162
		$this->platformService = $platformService;
163
		$this->providerService = $providerService;
164
		$this->miscService = $miscService;
165
	}
166
167
168
	/**