Code Duplication    Length = 10-11 lines in 3 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,
77
		ProviderService $providerService,
78
		PlatformService $platformService, MiscService $miscService
79
	) {
80
		$this->indexesRequest = $indexesRequest;
81
		$this->configService = $configService;
82
		$this->providerService = $providerService;
83
		$this->platformService = $platformService;
84
		$this->miscService = $miscService;
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

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