Code Duplication    Length = 9-9 lines in 2 locations

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

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

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

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