Code Duplication    Length = 9-10 lines in 4 locations

lib/Controller/NavigationController.php 1 location

@@ 74-83 (lines=10) @@
71
	 * @param ConfigService $configService
72
	 * @param MiscService $miscService
73
	 */
74
	public function __construct(
75
		IRequest $request, IConfig $config, IFullTextSearchManager $fullTextSearchManager,
76
		ConfigService $configService, MiscService $miscService
77
	) {
78
		parent::__construct(Application::APP_NAME, $request);
79
		$this->config = $config;
80
		$this->fullTextSearchManager = $fullTextSearchManager;
81
		$this->configService = $configService;
82
		$this->miscService = $miscService;
83
	}
84
85
86
	/**

lib/Controller/SettingsController.php 1 location

@@ 70-78 (lines=9) @@
67
	 * @param SettingsService $settingsService
68
	 * @param MiscService $miscService
69
	 */
70
	public function __construct(
71
		IRequest $request, ConfigService $configService, SettingsService $settingsService,
72
		MiscService $miscService
73
	) {
74
		parent::__construct(Application::APP_NAME, $request);
75
		$this->configService = $configService;
76
		$this->settingsService = $settingsService;
77
		$this->miscService = $miscService;
78
	}
79
80
81
	/**

lib/Controller/TemplatesController.php 1 location

@@ 78-87 (lines=10) @@
75
	 * @param ProviderService $providerService
76
	 * @param MiscService $miscService
77
	 */
78
	public function __construct(
79
		IRequest $request, IConfig $config, ConfigService $configService,
80
		ProviderService $providerService, MiscService $miscService
81
	) {
82
		parent::__construct(Application::APP_NAME, $request);
83
		$this->config = $config;
84
		$this->configService = $configService;
85
		$this->providerService = $providerService;
86
		$this->miscService = $miscService;
87
	}
88
89
90
	/**

lib/Service/IndexService.php 1 location

@@ 95-104 (lines=10) @@
92
	 * @param PlatformService $platformService
93
	 * @param MiscService $miscService
94
	 */
95
	public function __construct(
96
		IndexesRequest $indexesRequest, ConfigService $configService,
97
		ProviderService $providerService, PlatformService $platformService, MiscService $miscService
98
	) {
99
		$this->indexesRequest = $indexesRequest;
100
		$this->configService = $configService;
101
		$this->providerService = $providerService;
102
		$this->platformService = $platformService;
103
		$this->miscService = $miscService;
104
	}
105
106
107
	/**