aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Helper.php')
-rw-r--r--apps/files_sharing/lib/Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php
index 931301a04c4..c080a4f611c 100644
--- a/apps/files_sharing/lib/Helper.php
+++ b/apps/files_sharing/lib/Helper.php
@@ -68,7 +68,7 @@ class Helper {
* @param string|null $userId
* @return string
*/
- public static function getShareFolder(View $view = null, string $userId = null): string {
+ public static function getShareFolder(?View $view = null, ?string $userId = null): string {
if ($view === null) {
$view = Filesystem::getView();
}