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.
  • Loading branch information
taminob committed Dec 6, 2023
1 parent 6147bf7 commit bbfba70
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 bbfba70

Please sign in to comment.