Code Duplication    Length = 13-14 lines in 2 locations

lib/Service/ExternalFilesService.php 1 location

@@ 84-96 (lines=13) @@
81
	 * @param ConfigService $configService
82
	 * @param MiscService $miscService
83
	 */
84
	public function __construct(
85
		IRootFolder $rootFolder, IUserManager $userManager, IManager $shareManager,
86
		LocalFilesService $localFilesService, ConfigService $configService, MiscService $miscService
87
	) {
88
		$this->rootFolder = $rootFolder;
89
		$this->userManager = $userManager;
90
		$this->shareManager = $shareManager;
91
92
		$this->localFilesService = $localFilesService;
93
94
		$this->configService = $configService;
95
		$this->miscService = $miscService;
96
	}
97
98
99
	/**

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