fix(HTTP): Adjust JSONResponse data type

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2025-01-04 00:58:54 +01:00 committed by backportbot[bot]
parent ef5dc1e2eb
commit 8b322ff12c
2 changed files with 1 additions and 6 deletions

View file

@ -902,11 +902,6 @@
<code><![CDATA[$cacheData]]></code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
<InvalidArgument>
<code><![CDATA[$exception->getMessage()]]></code>
</InvalidArgument>
</file>
<file src="apps/files_sharing/lib/MountProvider.php">
<RedundantFunctionCall>
<code><![CDATA[array_values]]></code>

View file

@ -13,7 +13,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>>
*/