Code Duplication    Length = 15-15 lines in 2 locations

lib/Command/Live.php 1 location

@@ 83-97 (lines=15) @@
80
	 * @param ProviderService $providerService
81
	 * @param MiscService $miscService
82
	 */
83
	public function __construct(
84
		IUserManager $userManager, RunningService $runningService, ConfigService $configService,
85
		IndexService $indexService, PlatformService $platformService,
86
		ProviderService $providerService, MiscService $miscService
87
	) {
88
		parent::__construct();
89
		$this->userManager = $userManager;
90
91
		$this->runner = new Runner($runningService, 'commandLive');
92
		$this->configService = $configService;
93
		$this->indexService = $indexService;
94
		$this->platformService = $platformService;
95
		$this->providerService = $providerService;
96
		$this->miscService = $miscService;
97
	}
98
99
100
	/**

lib/Command/Index.php 1 location

@@ 77-91 (lines=15) @@
74
	 * @param ProviderService $providerService
75
	 * @param MiscService $miscService
76
	 */
77
	public function __construct(
78
		IUserManager $userManager, RunningService $runningService, IndexService $indexService,
79
		PlatformService $platformService, ProviderService $providerService, MiscService $miscService
80
	) {
81
		parent::__construct();
82
		$this->userManager = $userManager;
83
84
		$this->runner = new Runner($runningService, 'commandIndex');
85
		$this->indexService = $indexService;
86
		$this->indexService->setRunner($this->runner);
87
88
		$this->platformService = $platformService;
89
		$this->providerService = $providerService;
90
		$this->miscService = $miscService;
91
	}
92
93
94
	/**