Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf826f9b authored by Ronak Patel's avatar Ronak Patel
Browse files

Update 036-user-config-changed-event-new-file.patch

parent 24f41afa
Loading
Loading
Loading
Loading
Loading
+35 −33
Original line number Diff line number Diff line
--- /dev/null
+++ ./lib/public/User/Events/UserConfigChangedEvent.php
@@ -0,0 +1 @@
--- /dev/null	2024-04-16 13:44:50
+++ ./lib/public/User/Events/UserConfigChangedEvent.php	2024-04-16 13:43:17
@@ -0,0 +1,69 @@
+<?php
+
+declare(strict_types=1);
@@ -38,7 +38,11 @@
+	private mixed $value;
+	private mixed $oldValue;
+
+    public function __construct(string $userId, string $appId, string $key, mixed $value, mixed $oldValue = null) {
+	public function __construct(string $userId,
+		string $appId,
+		string $key,
+		mixed $value,
+		mixed $oldValue = null) {
+		parent::__construct();
+		$this->userId = $userId;
+		$this->appId = $appId;
@@ -54,7 +58,6 @@
+	public function getAppId(): string {
+		return $this->appId;
+	}
+
+	public function getKey(): string {
+		return $this->key;
+	}
@@ -67,4 +70,3 @@
+		return $this->oldValue;
+	}
+}
\ No newline at end of file