Browse Source

Merge pull request #22038 from nextcloud/bugfix/noid/dont-strict-type-uid-to-string

When no user is logged in null is used
tags/v20.0.0beta1
Joas Schilling 3 years ago
parent
commit
403ceab353
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      apps/files_sharing/lib/External/Manager.php

+ 2
- 2
apps/files_sharing/lib/External/Manager.php View File

@@ -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…
Cancel
Save