diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-11-28 13:17:34 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-28 13:17:34 +0100 |
commit | 6614ea91c37cbe7a263dfe1ca1932669d6620c7a (patch) | |
tree | a4e3652451b322a8c12ac8ed2552f22c5e4e4ee4 /apps | |
parent | d305412a357f31174abff757602b343c24cd91c1 (diff) | |
download | nextcloud-server-6614ea91c37cbe7a263dfe1ca1932669d6620c7a.tar.gz nextcloud-server-6614ea91c37cbe7a263dfe1ca1932669d6620c7a.zip |
Fix some PHPDocs
Some classes included via `use` did not even exist anymore.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/config.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 6c900f0f224..fac31445532 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -33,10 +33,9 @@ use phpseclib\Crypt\AES; use \OCA\Files_External\Appinfo\Application; -use \OCA\Files_External\Lib\BackendConfig; -use \OCA\Files_External\Service\BackendService; use \OCA\Files_External\Lib\Backend\LegacyBackend; use \OCA\Files_External\Lib\StorageConfig; +use \OCA\Files_External\Lib\Backend\Backend; /** * Class to configure mount.json globally and for users @@ -75,7 +74,7 @@ class OC_Mount_Config { return true; } - /* + /** * Hook that mounts the given user's visible mount points * * @param array $data @@ -245,6 +244,7 @@ class OC_Mount_Config { * @param string $class backend class name * @param array $options backend configuration options * @return int see self::STATUS_* + * @throws Exception */ public static function getBackendStatus($class, $options, $isPersonal) { if (self::$skipTest) { @@ -255,6 +255,7 @@ class OC_Mount_Config { } if (class_exists($class)) { try { + /** @var \OC\Files\Storage\Common $storage */ $storage = new $class($options); try { @@ -322,7 +323,7 @@ class OC_Mount_Config { * Get backend dependency message * TODO: move into AppFramework along with templates * - * @param BackendConfig[] $backends + * @param Backend[] $backends * @return string */ public static function dependencyMessage($backends) { |