aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Events/CalendarObjectMovedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Events/CalendarObjectMovedEvent.php')
-rw-r--r--apps/dav/lib/Events/CalendarObjectMovedEvent.php31
1 files changed, 9 insertions, 22 deletions
diff --git a/apps/dav/lib/Events/CalendarObjectMovedEvent.php b/apps/dav/lib/Events/CalendarObjectMovedEvent.php
index b3adfae20bd..0b57919ddc9 100644
--- a/apps/dav/lib/Events/CalendarObjectMovedEvent.php
+++ b/apps/dav/lib/Events/CalendarObjectMovedEvent.php
@@ -17,32 +17,19 @@ use OCP\EventDispatcher\Event;
* @since 25.0.0
*/
class CalendarObjectMovedEvent extends Event {
- private int $sourceCalendarId;
- private array $sourceCalendarData;
- private int $targetCalendarId;
- private array $targetCalendarData;
- private array $sourceShares;
- private array $targetShares;
- private array $objectData;
-
/**
* @since 25.0.0
*/
- public function __construct(int $sourceCalendarId,
- array $sourceCalendarData,
- int $targetCalendarId,
- array $targetCalendarData,
- array $sourceShares,
- array $targetShares,
- array $objectData) {
+ public function __construct(
+ private int $sourceCalendarId,
+ private array $sourceCalendarData,
+ private int $targetCalendarId,
+ private array $targetCalendarData,
+ private array $sourceShares,
+ private array $targetShares,
+ private array $objectData,
+ ) {
parent::__construct();
- $this->sourceCalendarId = $sourceCalendarId;
- $this->sourceCalendarData = $sourceCalendarData;
- $this->targetCalendarId = $targetCalendarId;
- $this->targetCalendarData = $targetCalendarData;
- $this->sourceShares = $sourceShares;
- $this->targetShares = $targetShares;
- $this->objectData = $objectData;
}
/**