Code Duplication    Length = 10-11 lines in 4 locations

lib/Service/IndexService.php 1 location

@@ 75-84 (lines=10) @@
72
	 * @param PlatformService $platformService
73
	 * @param MiscService $miscService
74
	 */
75
	public function __construct(
76
		IndexesRequest $indexesRequest, ConfigService $configService, ProviderService $providerService,
77
		PlatformService $platformService, MiscService $miscService
78
	) {
79
		$this->indexesRequest = $indexesRequest;
80
		$this->configService = $configService;
81
		$this->providerService = $providerService;
82
		$this->platformService = $platformService;
83
		$this->miscService = $miscService;
84
	}
85
86
87
	/**

lib/Service/SettingsService.php 1 location

@@ 58-67 (lines=10) @@
55
	 * @param ProviderService $providerService
56
	 * @param MiscService $miscService
57
	 */
58
	public function __construct(
59
		IConfig $config, $userId, PlatformService $platformService, ProviderService $providerService,
60
		MiscService $miscService
61
	) {
62
		$this->config = $config;
63
		$this->userId = $userId;
64
		$this->platformService = $platformService;
65
		$this->providerService = $providerService;
66
		$this->miscService = $miscService;
67
	}
68
69
70
	/**

lib/Command/Check.php 1 location

@@ 66-76 (lines=11) @@
63
	 * @param ProviderService $providerService
64
	 * @param MiscService $miscService
65
	 */
66
	public function __construct(
67
		ConfigService $configService, PlatformService $platformService,
68
		ProviderService $providerService, MiscService $miscService
69
	) {
70
		parent::__construct();
71
72
		$this->configService = $configService;
73
		$this->platformService = $platformService;
74
		$this->providerService = $providerService;
75
		$this->miscService = $miscService;
76
	}
77
78
79
	/**

lib/Command/Configure.php 1 location

@@ 67-77 (lines=11) @@
64
	 * @param ProviderService $providerService
65
	 * @param MiscService $miscService
66
	 */
67
	public function __construct(
68
		ConfigService $configService, PlatformService $platformService,
69
		ProviderService $providerService, MiscService $miscService
70
	) {
71
		parent::__construct();
72
73
		$this->configService = $configService;
74
		$this->platformService = $platformService;
75
		$this->providerService = $providerService;
76
		$this->miscService = $miscService;
77
	}
78
79
80
	/**