Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* @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