diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-29 09:42:54 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-29 09:42:54 +0200 |
commit | d4a4d5c6ef9062e39e1f2a8802f45fede3eb28da (patch) | |
tree | 266e41c7b9d78764fe0d289a419b6c5f6526a9dc /apps/files_sharing/lib | |
parent | 1f42a8b5cb8a2e99e2ce57280e09d69a3fa5238f (diff) | |
download | nextcloud-server-d4a4d5c6ef9062e39e1f2a8802f45fede3eb28da.tar.gz nextcloud-server-d4a4d5c6ef9062e39e1f2a8802f45fede3eb28da.zip |
When no user is logged in null is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/External/Manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |