mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 16:50:55 -04:00
When no user is logged in null is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1f42a8b5cb
commit
d4a4d5c6ef
1 changed files with 2 additions and 2 deletions
4
apps/files_sharing/lib/External/Manager.php
vendored
4
apps/files_sharing/lib/External/Manager.php
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue