aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/AbstractTrash.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Sabre/AbstractTrash.php')
-rw-r--r--apps/files_trashbin/lib/Sabre/AbstractTrash.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrash.php b/apps/files_trashbin/lib/Sabre/AbstractTrash.php
index e46a7d5d638..343c8b6be6d 100644
--- a/apps/files_trashbin/lib/Sabre/AbstractTrash.php
+++ b/apps/files_trashbin/lib/Sabre/AbstractTrash.php
@@ -14,15 +14,10 @@ use OCP\Files\FileInfo;
use OCP\IUser;
abstract class AbstractTrash implements ITrash {
- /** @var ITrashItem */
- protected $data;
-
- /** @var ITrashManager */
- protected $trashManager;
-
- public function __construct(ITrashManager $trashManager, ITrashItem $data) {
- $this->trashManager = $trashManager;
- $this->data = $data;
+ public function __construct(
+ protected ITrashManager $trashManager,
+ protected ITrashItem $data,
+ ) {
}
public function getFilename(): string {