summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2022-05-18 23:01:21 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2022-05-24 22:05:59 +0200
commitbe99ea969eb1a8b56ff1495c43f083021356c345 (patch)
tree80234147a1aa30b874110ce0afed84f68e162df8
parent95ec67ecd7d47eeb2d120a7ceedde2d73a90b97f (diff)
downloadnextcloud-server-be99ea969eb1a8b56ff1495c43f083021356c345.tar.gz
nextcloud-server-be99ea969eb1a8b56ff1495c43f083021356c345.zip
Fix type for resource
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--lib/public/AppFramework/Http/ZipResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php
index 7495583ae12..23e9f1f7a94 100644
--- a/lib/public/AppFramework/Http/ZipResponse.php
+++ b/lib/public/AppFramework/Http/ZipResponse.php
@@ -37,7 +37,7 @@ use OCP\IRequest;
* @since 15.0.0
*/
class ZipResponse extends Response implements ICallbackResponse {
- /** @var array{internalName: string, resource: string, size: int, time: int}[] Files to be added to the zip response */
+ /** @var array{internalName: string, resource: resource, size: int, time: int}[] Files to be added to the zip response */
private array $resources = [];
/** @var string Filename that the zip file should have */
private string $name;