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

When no user is logged in null is used
This commit is contained in:
Joas Schilling 2020-07-29 14:20:23 +02:00 committed by GitHub
commit 403ceab353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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;