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

When no user is logged in null is used
pull/22043/head
Joas Schilling 4 years ago committed by GitHub
commit 403ceab353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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