From 2386148b8f048ba40d9f26cc97898bdcdc778ea2 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 13 Dec 2025 16:27:53 +0100 Subject: matrix specification split --- matrix-specification/Responses/ClientLoginGetResponse.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'matrix-specification/Responses/ClientLoginGetResponse.php') 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, -- cgit v1.2.3