Code Duplication    Length = 10-11 lines in 3 locations

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

lib/Provider/FilesProvider.php 1 location

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

lib/Events/FilesEvents.php 1 location

@@ 88-98 (lines=11) @@
85
	 * @param ConfigService $configService
86
	 * @param MiscService $miscService
87
	 */
88
	public function __construct(
89
		$userId, IAppManager $appManager, IFullTextSearchManager $fullTextSearchManager,
90
		FilesService $filesService, ConfigService $configService, MiscService $miscService
91
	) {
92
		$this->userId = $userId;
93
		$this->appManager = $appManager;
94
		$this->fullTextSearchManager = $fullTextSearchManager;
95
		$this->filesService = $filesService;
96
		$this->configService = $configService;
97
		$this->miscService = $miscService;
98
	}
99
100
101
	/**