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

@@ 133-148 (lines=16) @@
130
	 * @param ProviderService $providerService
131
	 * @param MiscService $miscService
132
	 */
133
	public function __construct(
134
		IUserManager $userManager, RunningService $runningService, CliService $cliService,
135
		IndexService $indexService, PlatformService $platformService,
136
		ProviderService $providerService, MiscService $miscService
137
	) {
138
		parent::__construct();
139
		$this->userManager = $userManager;
140
141
		$this->runningService = $runningService;
142
		$this->cliService = $cliService;
143
		$this->indexService = $indexService;
144
145
		$this->platformService = $platformService;
146
		$this->providerService = $providerService;
147
		$this->miscService = $miscService;
148
	}
149
150
151
	/**