Code Duplication    Length = 14-14 lines in 2 locations

lib/Command/Index.php 1 location

@@ 80-93 (lines=14) @@
77
	 * @param ProviderService $providerService
78
	 * @param MiscService $miscService
79
	 */
80
	public function __construct(
81
		IUserManager $userManager, RunningService $runningService, IndexService $indexService,
82
		PlatformService $platformService, ProviderService $providerService, MiscService $miscService
83
	) {
84
		parent::__construct();
85
		$this->userManager = $userManager;
86
87
		$this->runningService = $runningService;
88
		$this->indexService = $indexService;
89
90
		$this->platformService = $platformService;
91
		$this->providerService = $providerService;
92
		$this->miscService = $miscService;
93
	}
94
95
96
	/**

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