diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index dc011bc3b3ffa..41a7a2e46ebd7 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1165,11 +1165,6 @@
-
-
- getMessage()]]>
-
-
diff --git a/lib/public/AppFramework/Http/JSONResponse.php b/lib/public/AppFramework/Http/JSONResponse.php
index f600429632385..4385e2ffd557b 100644
--- a/lib/public/AppFramework/Http/JSONResponse.php
+++ b/lib/public/AppFramework/Http/JSONResponse.php
@@ -34,7 +34,7 @@
* 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
* @template-extends Response>
*/