Merge pull request #50035 from nextcloud/fix/http/jsonresponse-data-type

fix(HTTP): Adjust JSONResponse data type
This commit is contained in:
Joas Schilling 2025-01-07 06:39:14 +01:00 committed by GitHub
commit 8953f44534
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

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