From f98cb9efa042b2041ad5d7dff885b036d37e921b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 5 Jul 2016 23:18:41 +0200 Subject: Fix type hinting --- apps/files_external/lib/Lib/Storage/SFTP.php | 4 ++-- apps/files_external/lib/Lib/Storage/SMB.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files_external/lib') diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index c058cb98483..3be7a801229 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -49,8 +49,8 @@ class SFTP extends \OC\Files\Storage\Common { private $auth; /** - * @var SFTP - */ + * @var \phpseclib\Net\SFTP + */ protected $client; /** diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index 9f74aa881e0..e677f8c9eba 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -221,7 +221,7 @@ class SMB extends \OC\Files\Storage\Common { /** * @param string $path * @param string $mode - * @return resource + * @return resource|false */ public function fopen($path, $mode) { $fullPath = $this->buildPath($path); -- cgit v1.2.3