Code Duplication    Length = 10-11 lines in 2 locations

lib/Service/SearchService.php 1 location

@@ 59-69 (lines=11) @@
56
	 * @param ConfigService $configService
57
	 * @param MiscService $miscService
58
	 */
59
	public function __construct(
60
		IL10N $l10n, IUserManager $userManager, ConfigService $configService,
61
		MiscService $miscService
62
	) {
63
		$this->l10n = $l10n;
64
		$this->userManager = $userManager;
65
		$this->configService = $configService;
66
		$this->miscService = $miscService;
67
68
		$this->loadSearch();
69
	}
70
71
72
	/**

lib/Service/ShareService.php 1 location

@@ 53-62 (lines=10) @@
50
	 * @param ConfigService $configService
51
	 * @param MiscService $miscService
52
	 */
53
	public function __construct(
54
		IL10N $l10n, ConfigService $configService,
55
		MiscService $miscService
56
	) {
57
		$this->l10n = $l10n;
58
		$this->configService = $configService;
59
		$this->miscService = $miscService;
60
61
		$this->loadSearch();
62
	}
63
64
65
	/**