This commit is contained in:
kesselb 2021-06-01 11:26:50 +01:00 committed by GitHub
commit d630749592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class CachedMountFileInfo extends CachedMountInfo implements ICachedMountFileInf
/** @var string */
private $internalPath;
public function __construct(IUser $user, $storageId, $rootId, $mountPoint, $mountId = null, $rootInternalPath = '', $internalPath) {
public function __construct(IUser $user, int $storageId, int $rootId, string $mountPoint, ?int $mountId, string $rootInternalPath, string $internalPath) {
parent::__construct($user, $storageId, $rootId, $mountPoint, $mountId, $rootInternalPath);
$this->internalPath = $internalPath;
}

View File

@ -69,7 +69,7 @@ class CachedMountInfo implements ICachedMountInfo {
* @param int|null $mountId
* @param string $rootInternalPath
*/
public function __construct(IUser $user, $storageId, $rootId, $mountPoint, $mountId = null, $rootInternalPath = '') {
public function __construct(IUser $user, int $storageId, int $rootId, string $mountPoint, ?int $mountId, string $rootInternalPath) {
$this->user = $user;
$this->storageId = $storageId;
$this->rootId = $rootId;