Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-05-13 17:26:45 +0300
committerGitHub <noreply@github.com>2022-05-13 17:26:45 +0300
commit9de0e77ee016c00973720b79069e9c931090390c (patch)
tree252c7ffa05ca5785f6cdf3754c8b44897fe42c94 /lib
parentf4058a2432f748ffff6d7e45f2fb79ca383f8dd1 (diff)
parent7cd356ee7dc7f9f9911a2261ce70d2b4557d0041 (diff)
Merge pull request #32376 from nextcloud/debt/noid/fix-psalm-warning-for-zip-response
Diffstat (limited to 'lib')
-rw-r--r--lib/public/AppFramework/Http/ZipResponse.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php
index c3a7e089bdc..7495583ae12 100644
--- a/lib/public/AppFramework/Http/ZipResponse.php
+++ b/lib/public/AppFramework/Http/ZipResponse.php
@@ -37,11 +37,11 @@ use OCP\IRequest;
* @since 15.0.0
*/
class ZipResponse extends Response implements ICallbackResponse {
- /** @var resource[] Files to be added to the zip response */
- private $resources = [];
+ /** @var array{internalName: string, resource: string, 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 $name;
- private $request;
+ private string $name;
+ private IRequest $request;
/**
* @since 15.0.0