summaryrefslogtreecommitdiff
path: root/matrix-specification/Responses/ClientLoginGetResponse.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-12-13 16:27:53 +0100
committerDaniel Weipert <git@mail.dweipert.de>2025-12-13 16:27:53 +0100
commit2386148b8f048ba40d9f26cc97898bdcdc778ea2 (patch)
tree48ca45de3dc6133cb0225eba8c5917f813082b2b /matrix-specification/Responses/ClientLoginGetResponse.php
parentb19a8f63ad727a3633885d3f2b81edf8181a53b9 (diff)
matrix specification splitHEADmain
Diffstat (limited to 'matrix-specification/Responses/ClientLoginGetResponse.php')
-rw-r--r--matrix-specification/Responses/ClientLoginGetResponse.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/matrix-specification/Responses/ClientLoginGetResponse.php b/matrix-specification/Responses/ClientLoginGetResponse.php
index b3b65c3..b8badbd 100644
--- a/matrix-specification/Responses/ClientLoginGetResponse.php
+++ b/matrix-specification/Responses/ClientLoginGetResponse.php
@@ -3,8 +3,9 @@
namespace Matrix\Responses;
use Matrix\Data\LoginFlow;
+use Matrix\Response;
-class ClientLoginGetResponse implements \JsonSerializable
+class ClientLoginGetResponse extends Response
{
/**
* @param LoginFlow[] $loginFlows
@@ -14,7 +15,7 @@ class ClientLoginGetResponse implements \JsonSerializable
)
{}
- public function jsonSerialize(): array
+ public function getBody(): array
{
return [
"flows" => $this->loginFlows,