aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Events/MoveToTrashEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Events/MoveToTrashEvent.php')
-rw-r--r--apps/files_trashbin/lib/Events/MoveToTrashEvent.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php
index ff54c67e178..1596315dd20 100644
--- a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php
+++ b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php
@@ -21,12 +21,10 @@ class MoveToTrashEvent extends Event {
/** @var bool */
private $moveToTrashBin;
- /** @var Node */
- private $node;
-
- public function __construct(Node $node) {
+ public function __construct(
+ private Node $node,
+ ) {
$this->moveToTrashBin = true;
- $this->node = $node;
}
/**