fix(HTTP): Adjust JSONResponse data type

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/50035/head
provokateurin 1 year ago
parent 72e82417f2
commit 3624923af2
No known key found for this signature in database
  1. 5
      build/psalm-baseline.xml
  2. 2
      lib/public/AppFramework/Http/JSONResponse.php

@ -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>

@ -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>>
*/

Loading…
Cancel
Save