From d4a4d5c6ef9062e39e1f2a8802f45fede3eb28da Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 29 Jul 2020 09:42:54 +0200 Subject: When no user is logged in null is used Signed-off-by: Joas Schilling --- apps/files_sharing/lib/External/Manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_sharing/lib') diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index 3b4c2bc8f54..0b87c24c648 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -52,7 +52,7 @@ use OCP\Share\IShare; class Manager { public const STORAGE = '\OCA\Files_Sharing\External\Storage'; - /** @var string */ + /** @var string|null */ private $uid; /** @var IDBConnection */ @@ -98,7 +98,7 @@ class Manager { ICloudFederationFactory $cloudFederationFactory, IGroupManager $groupManager, IUserManager $userManager, - string $uid, + ?string $uid, IEventDispatcher $eventDispatcher) { $this->connection = $connection; $this->mountManager = $mountManager; -- cgit v1.2.3