diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 476759a387b18..a8839fd25ffaa 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -902,11 +902,6 @@ - - - getMessage()]]> - - diff --git a/lib/public/AppFramework/Http/JSONResponse.php b/lib/public/AppFramework/Http/JSONResponse.php index 7551d264e73cb..2ad18551ef8d7 100644 --- a/lib/public/AppFramework/Http/JSONResponse.php +++ b/lib/public/AppFramework/Http/JSONResponse.php @@ -13,7 +13,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> */