Code Duplication    Length = 10-10 lines in 2 locations

lib/Service/IndexService.php 1 location

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

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