From f9bd43ff033067b3d58479186f86da79edd32db1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 6 Nov 2014 21:27:12 -0800 Subject: [PATCH] scrutinizer fix: correct @return for getDriveFile() --- apps/files_external/lib/google.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php index ab0385ec20..0e904dac45 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