aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Events/CalendarPublishedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Events/CalendarPublishedEvent.php')
-rw-r--r--apps/dav/lib/Events/CalendarPublishedEvent.php15
1 files changed, 5 insertions, 10 deletions
diff --git a/apps/dav/lib/Events/CalendarPublishedEvent.php b/apps/dav/lib/Events/CalendarPublishedEvent.php
index 922781e3cb7..32fb1c36963 100644
--- a/apps/dav/lib/Events/CalendarPublishedEvent.php
+++ b/apps/dav/lib/Events/CalendarPublishedEvent.php
@@ -17,10 +17,6 @@ use OCP\EventDispatcher\Event;
* @since 20.0.0
*/
class CalendarPublishedEvent extends Event {
- private int $calendarId;
- private array $calendarData;
- private string $publicUri;
-
/**
* CalendarPublishedEvent constructor.
*
@@ -29,13 +25,12 @@ class CalendarPublishedEvent extends Event {
* @param string $publicUri
* @since 20.0.0
*/
- public function __construct(int $calendarId,
- array $calendarData,
- string $publicUri) {
+ public function __construct(
+ private int $calendarId,
+ private array $calendarData,
+ private string $publicUri,
+ ) {
parent::__construct();
- $this->calendarId = $calendarId;
- $this->calendarData = $calendarData;
- $this->publicUri = $publicUri;
}
/**