aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-01-04 00:58:54 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-07 05:39:58 +0000
commit35e85c3b818dedcc0096a95a6472a64168602d51 (patch)
tree0396bb8d9632ae6c0811f70b5dd973350674e006
parente9b2832a0a4e56f97d45707f6c6b5e20d982f8ac (diff)
downloadnextcloud-server-backport/50035/stable28.tar.gz
nextcloud-server-backport/50035/stable28.zip
fix(HTTP): Adjust JSONResponse data typebackport/50035/stable28
Signed-off-by: provokateurin <kate@provokateurin.de> [skip ci]
-rw-r--r--lib/public/AppFramework/Http/JSONResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/JSONResponse.php b/lib/public/AppFramework/Http/JSONResponse.php
index f6004296323..4385e2ffd55 100644
--- a/lib/public/AppFramework/Http/JSONResponse.php
+++ b/lib/public/AppFramework/Http/JSONResponse.php
@@ -34,7 +34,7 @@ use OCP\AppFramework\Http;
* A renderer for JSON calls
* @since 6.0.0
* @template S of int
- * @template-covariant T of array|object|\stdClass|\JsonSerializable
+ * @template-covariant T of null|string|int|float|bool|array|\stdClass|\JsonSerializable
* @template H of array<string, mixed>
* @template-extends Response<int, array<string, mixed>>
*/