Skip to content

Commit bf7109b

Browse files
committed
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. Signed-off-by: Tamino Bauknecht <dev@tb6.eu>
1 parent 0ab274e commit bf7109b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/lib/Connector/Sabre/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function __construct(View $view, FileInfo $info, IManager $shareManager =
125125
* different object on a subsequent GET you are strongly recommended to not
126126
* return an ETag, and just return null.
127127
*
128-
* @param resource $data
128+
* @param resource|string $data
129129
*
130130
* @throws Forbidden
131131
* @throws UnsupportedMediaType

0 commit comments

Comments
 (0)