Code Duplication    Length = 9-9 lines in 2 locations

apps/files_trashbin/lib/Sabre/TrashFolderFile.php 1 location

@@ 40-48 (lines=9) @@
37
	/** @var string */
38
	private $location;
39
40
	public function __construct(string $root,
41
								string $userId,
42
								FileInfo $data,
43
								string $location) {
44
		$this->root = $root;
45
		$this->userId = $userId;
46
		$this->location = $location;
47
		parent::__construct($data);
48
	}
49
50
	public function put($data) {
51
		throw new Forbidden();

apps/files_trashbin/lib/Sabre/TrashFolderFolder.php 1 location

@@ 42-50 (lines=9) @@
39
	/** @var string */
40
	private $location;
41
42
	public function __construct(string $root,
43
								string $userId,
44
								FileInfo $data,
45
								string $location) {
46
		$this->root = $root;
47
		$this->userId = $userId;
48
		$this->location = $location;
49
		parent::__construct($data);
50
	}
51
52
	public function createFile($name, $data = null) {
53
		throw new Forbidden();