summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-07-05 23:18:41 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-08 12:35:50 +0200
commitf98cb9efa042b2041ad5d7dff885b036d37e921b (patch)
treed3bf918c58d7c4bbe3df818afec7cb4656dab237 /apps/files_external
parent31ea10b04e5a8e52dce82f477a38bda062d70c62 (diff)
downloadnextcloud-server-f98cb9efa042b2041ad5d7dff885b036d37e921b.tar.gz
nextcloud-server-f98cb9efa042b2041ad5d7dff885b036d37e921b.zip
Fix type hinting
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTP.php4
-rw-r--r--apps/files_external/lib/Lib/Storage/SMB.php2
2 files changed, 3 insertions, 3 deletions
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);