From bbfba70025a31048fc5d7960a64cb3049701c904 Mon Sep 17 00:00:00 2001 From: Tamino Bauknecht Date: Wed, 6 Dec 2023 23:02:47 +0100 Subject: [PATCH] Connector\Sabre\File: Add string as possible parameter type to put The base interface IFile allows this type and it is explicitly handled in the function definition. --- apps/dav/lib/Connector/Sabre/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index f188490fd938f..606987762c1e9 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -125,7 +125,7 @@ public function __construct(View $view, FileInfo $info, IManager $shareManager = * different object on a subsequent GET you are strongly recommended to not * return an ETag, and just return null. * - * @param resource $data + * @param resource|string $data * * @throws Forbidden * @throws UnsupportedMediaType