diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2015-11-30 10:29:06 +0000 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-30 22:50:09 +0100 |
commit | dcbd60351435c9a5ea8d23dff703d449489aa335 (patch) | |
tree | 7569cdcf079f984ebf6eb9c6ef96099667b931c7 /apps/files_external | |
parent | 802f226d8a2e0e8d9e381542e00d191de2475985 (diff) | |
download | nextcloud-server-dcbd60351435c9a5ea8d23dff703d449489aa335.tar.gz nextcloud-server-dcbd60351435c9a5ea8d23dff703d449489aa335.zip |
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/config.php | 3 | ||||
-rw-r--r-- | apps/files_external/lib/config/configadapter.php | 1 | ||||
-rw-r--r-- | apps/files_external/lib/sftp.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index fac31445532..cd2498eca40 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -243,6 +243,7 @@ class OC_Mount_Config { * * @param string $class backend class name * @param array $options backend configuration options + * @param boolean $isPersonal * @return int see self::STATUS_* * @throws Exception */ @@ -357,7 +358,7 @@ class OC_Mount_Config { * @param \OCP\IL10N $l * @param string $module * @param string $backend - * @return string + * @return OC_L10N_String */ private static function getSingleDependencyMessage(\OCP\IL10N $l, $module, $backend) { switch (strtolower($module)) { diff --git a/apps/files_external/lib/config/configadapter.php b/apps/files_external/lib/config/configadapter.php index 3a04512e8a8..f9640d53377 100644 --- a/apps/files_external/lib/config/configadapter.php +++ b/apps/files_external/lib/config/configadapter.php @@ -32,7 +32,6 @@ use OCP\IUser; use OCA\Files_external\Service\UserStoragesService; use OCA\Files_External\Service\UserGlobalStoragesService; use OCA\Files_External\Lib\StorageConfig; -use OCP\Files\StorageNotAvailableException; use OCA\Files_External\Lib\FailedStorage; /** diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index f8651727fd2..bcf3143736e 100644 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@ -195,7 +195,7 @@ class SFTP extends \OC\Files\Storage\Common { } /** - * @return bool|string + * @return string|false */ private function hostKeysPath() { try { |