Code Duplication    Length = 14-16 lines in 2 locations

lib/Service/ExternalFilesService.php 1 location

@@ 105-120 (lines=16) @@
102
	 * @param ConfigService $configService
103
	 * @param MiscService $miscService
104
	 */
105
	public function __construct(
106
		IRootFolder $rootFolder, IAppManager $appManager, IUserManager $userManager,
107
		IGroupManager $groupManager, IManager $shareManager, LocalFilesService $localFilesService,
108
		ConfigService $configService, MiscService $miscService
109
	) {
110
		$this->rootFolder = $rootFolder;
111
		$this->appManager = $appManager;
112
		$this->userManager = $userManager;
113
		$this->groupManager = $groupManager;
114
		$this->shareManager = $shareManager;
115
116
		$this->localFilesService = $localFilesService;
117
118
		$this->configService = $configService;
119
		$this->miscService = $miscService;
120
	}
121
122
123
	/**

lib/Service/LocalFilesService.php 1 location

@@ 89-102 (lines=14) @@
86
	 * @param ConfigService $configService
87
	 * @param MiscService $miscService
88
	 */
89
	public function __construct(
90
		IRootFolder $rootFolder, IGroupManager $groupManager, IUserManager $userManager,
91
		IManager $shareManager, SharesRequest $sharesRequest, ConfigService $configService,
92
		MiscService $miscService
93
	) {
94
		$this->rootFolder = $rootFolder;
95
		$this->groupManager = $groupManager;
96
		$this->userManager = $userManager;
97
		$this->shareManager = $shareManager;
98
99
		$this->sharesRequest = $sharesRequest;
100
		$this->configService = $configService;
101
		$this->miscService = $miscService;
102
	}
103
104
105
	/**