summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2014-11-06 21:27:12 -0800
committerAdam Williamson <awilliam@redhat.com>2014-11-06 21:27:12 -0800
commitf9bd43ff033067b3d58479186f86da79edd32db1 (patch)
treea347550a7ee46484ce1abe1377fd8cf9c0a17e86 /apps
parent5935758b3a5d8c50cbc6bf7f31ce9ef7b4ba39f1 (diff)
downloadnextcloud-server-f9bd43ff033067b3d58479186f86da79edd32db1.tar.gz
nextcloud-server-f9bd43ff033067b3d58479186f86da79edd32db1.zip
scrutinizer fix: correct @return for getDriveFile()
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/google.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index ab0385ec20b..0e904dac45c 100644
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -65,9 +65,10 @@ class Google extends \OC\Files\Storage\Common {
}
/**
- * Get the Google_Service_Drive_DriveFile object for the specified path
+ * Get the Google_Service_Drive_DriveFile object for the specified path.
+ * Returns false on failure.
* @param string $path
- * @return Google_Service_Drive_DriveFile
+ * @return \Google_Service_Drive_DriveFile|false
*/
private function getDriveFile($path) {
// Remove leading and trailing slashes