Code Duplication    Length = 10-12 lines in 2 locations

lib/Provider/FilesProvider.php 1 location

@@ 83-94 (lines=12) @@
80
	private $indexOptions = [];
81
82
83
	public function __construct(
84
		IL10N $l10n, ConfigService $configService, FilesService $filesService,
85
		SearchService $searchService, ElasticSearchService $elasticSearchService,
86
		MiscService $miscService
87
	) {
88
		$this->l10n = $l10n;
89
		$this->configService = $configService;
90
		$this->filesService = $filesService;
91
		$this->searchService = $searchService;
92
		$this->elasticSearchService = $elasticSearchService;
93
		$this->miscService = $miscService;
94
	}
95
96
	/**
97
	 * return unique id of the provider

lib/Service/SearchService.php 1 location

@@ 66-75 (lines=10) @@
63
	 *
64
	 * @internal param IProviderFactory $factory
65
	 */
66
	public function __construct(
67
		$userId, FilesService $filesService, ConfigService $configService,
68
		ExtensionService $extensionService, MiscService $miscService
69
	) {
70
		$this->userId = $userId;
71
		$this->filesService = $filesService;
72
		$this->configService = $configService;
73
		$this->extensionService = $extensionService;
74
		$this->miscService = $miscService;
75
	}
76
77
78
	/**