Code Duplication    Length = 10-11 lines in 3 locations

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

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

lib/Service/IndexService.php 1 location

@@ 74-84 (lines=11) @@
71
	 * @param PlatformService $platformService
72
	 * @param MiscService $miscService
73
	 */
74
	public function __construct(
75
		IndexesRequest $indexesRequest, ConfigService $configService,
76
		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
	/**