Skip to content

Commit

Permalink
Connector\Sabre\File: Add string as possible parameter type to put
Browse files Browse the repository at this point in the history
The base interface IFile allows this type and it is explicitly handled
in the function definition.

Signed-off-by: Tamino Bauknecht <[email protected]>
  • Loading branch information
taminob committed Dec 7, 2023
1 parent 5626bbd commit c1099fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1099fe

Please sign in to comment.