From b19a8f63ad727a3633885d3f2b81edf8181a53b9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 25 Sep 2025 13:38:24 +0200 Subject: matrix-specification split work in progress --- matrix-specification/UserIdentifier.php | 45 --------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 matrix-specification/UserIdentifier.php (limited to 'matrix-specification/UserIdentifier.php') diff --git a/matrix-specification/UserIdentifier.php b/matrix-specification/UserIdentifier.php deleted file mode 100644 index 63f939a..0000000 --- a/matrix-specification/UserIdentifier.php +++ /dev/null @@ -1,45 +0,0 @@ - $this->type, - ]; - - $userIdentifier += match ($this->type) { - UserIdentifierType::USER => [ - "user" => $this->user, - ], - - UserIdentifierType::THIRDPARTY => [ - "medium" => $this->thirdPartyMedium, - "address" => $this->thirdPartyAddress, - ], - - UserIdentifierType::PHONE => [ - "country" => $this->phoneCountry, - "phone" => $this->phoneNumber, - ], - - default => [], - }; - - return $userIdentifier; - } -} -- cgit v1.2.3