Browse Source

Specify type to internal storage class

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/34624/head
Carl Schwan 3 years ago
parent
commit
94a0b27000
  1. 1
      apps/files_external/lib/Service/StoragesService.php

1
apps/files_external/lib/Service/StoragesService.php

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