diff options
Diffstat (limited to 'matrix-specification/Responses/ClientLoginGetResponse.php')
| -rw-r--r-- | matrix-specification/Responses/ClientLoginGetResponse.php | 5 |
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, |
