Code Duplication    Length = 10-11 lines in 4 locations

lib/Command/Check.php 1 location

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

lib/Controller/TemplatesController.php 1 location

@@ 66-75 (lines=10) @@
63
	 * @param ProviderService $providerService
64
	 * @param MiscService $miscService
65
	 */
66
	public function __construct(
67
		IRequest $request, IConfig $config, ConfigService $configService,
68
		ProviderService $providerService, MiscService $miscService
69
	) {
70
		parent::__construct(Application::APP_NAME, $request);
71
		$this->config = $config;
72
		$this->configService = $configService;
73
		$this->providerService = $providerService;
74
		$this->miscService = $miscService;
75
	}
76
77
78
	/**

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