diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2026-04-10 22:38:59 +0200 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2026-04-10 22:38:59 +0200 |
| commit | 875b9ece501de5937993c41a83c44f8ea59897d0 (patch) | |
| tree | 04579bcb80c9fdb43502d178b3ee145a818afe28 /matrix-specification/Responses/ClientRegisterPostResponse.php | |
| parent | 74a524ded12c6527745957ac219e1ca34828aa6c (diff) | |
Diffstat (limited to 'matrix-specification/Responses/ClientRegisterPostResponse.php')
| -rw-r--r-- | matrix-specification/Responses/ClientRegisterPostResponse.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/matrix-specification/Responses/ClientRegisterPostResponse.php b/matrix-specification/Responses/ClientRegisterPostResponse.php index 6ed65ce..2b6dabe 100644 --- a/matrix-specification/Responses/ClientRegisterPostResponse.php +++ b/matrix-specification/Responses/ClientRegisterPostResponse.php @@ -17,12 +17,16 @@ class ClientRegisterPostResponse extends Response ) {} - public function validateRequired(ClientRegisterPostRequest $request): void + public function validateRequired(/*?ClientRegisterPostRequest $request*/): void { + /* if (is_null($request)) { + return; + } + $requestBody = $request->getBody(); if ($requestBody["inhibit_login"] === false) { # TODO: validate - } + } */ } public function getBody(): array |
