Code Duplication    Length = 14-16 lines in 2 locations

lib/Service/LocalFilesService.php 1 location

@@ 77-90 (lines=14) @@
74
	 * @param ConfigService $configService
75
	 * @param MiscService $miscService
76
	 */
77
	public function __construct(
78
		IRootFolder $rootFolder, IGroupManager $groupManager, IUserManager $userManager,
79
		IManager $shareManager, SharesRequest $sharesRequest, ConfigService $configService,
80
		MiscService $miscService
81
	) {
82
		$this->rootFolder = $rootFolder;
83
		$this->groupManager = $groupManager;
84
		$this->userManager = $userManager;
85
		$this->shareManager = $shareManager;
86
87
		$this->sharesRequest = $sharesRequest;
88
		$this->configService = $configService;
89
		$this->miscService = $miscService;
90
	}
91
92
93
	/**

lib/Service/ExternalFilesService.php 1 location

@@ 99-114 (lines=16) @@
96
	 * @param ConfigService $configService
97
	 * @param MiscService $miscService
98
	 */
99
	public function __construct(
100
		IRootFolder $rootFolder, IUserManager $userManager, IGroupManager $groupManager,
101
		IManager $shareManager, GlobalStoragesService $globalStoragesService,
102
		LocalFilesService $localFilesService, ConfigService $configService, MiscService $miscService
103
	) {
104
		$this->rootFolder = $rootFolder;
105
		$this->userManager = $userManager;
106
		$this->groupManager = $groupManager;
107
		$this->shareManager = $shareManager;
108
		$this->globalStoragesService = $globalStoragesService;
109
110
		$this->localFilesService = $localFilesService;
111
112
		$this->configService = $configService;
113
		$this->miscService = $miscService;
114
	}
115
116
117
	/**