Code Duplication    Length = 10-10 lines in 2 locations

lib/Provider/FilesProvider.php 1 location

@@ 89-98 (lines=10) @@
86
	private $indexOptions = [];
87
88
89
	public function __construct(
90
		IL10N $l10n, ConfigService $configService, FilesService $filesService,
91
		SearchService $searchService, MiscService $miscService
92
	) {
93
		$this->l10n = $l10n;
94
		$this->configService = $configService;
95
		$this->filesService = $filesService;
96
		$this->searchService = $searchService;
97
		$this->miscService = $miscService;
98
	}
99
100
	/**
101
	 * return unique id of the provider

lib/Service/SearchService.php 1 location

@@ 80-89 (lines=10) @@
77
	 *
78
	 * @internal param IProviderFactory $factory
79
	 */
80
	public function __construct(
81
		$userId, FilesService $filesService, ConfigService $configService,
82
		ExtensionService $extensionService, MiscService $miscService
83
	) {
84
		$this->userId = $userId;
85
		$this->filesService = $filesService;
86
		$this->configService = $configService;
87
		$this->extensionService = $extensionService;
88
		$this->miscService = $miscService;
89
	}
90
91
92
	/**