mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Specify type to internal storage class
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
7da806d6eb
commit
94a0b27000
1 changed files with 1 additions and 0 deletions
|
|
@ -510,6 +510,7 @@ abstract class StoragesService {
|
|||
$storage = $storageConfig->getBackend()->wrapStorage($storage);
|
||||
$storage = $storageConfig->getAuthMechanism()->wrapStorage($storage);
|
||||
|
||||
/** @var \OC\Files\Storage\Storage $storage */
|
||||
return $storage->getStorageCache()->getNumericId();
|
||||
} catch (\Exception $e) {
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue