diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-07-05 23:18:41 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-07-08 12:35:50 +0200 |
commit | f98cb9efa042b2041ad5d7dff885b036d37e921b (patch) | |
tree | d3bf918c58d7c4bbe3df818afec7cb4656dab237 /apps | |
parent | 31ea10b04e5a8e52dce82f477a38bda062d70c62 (diff) | |
download | nextcloud-server-f98cb9efa042b2041ad5d7dff885b036d37e921b.tar.gz nextcloud-server-f98cb9efa042b2041ad5d7dff885b036d37e921b.zip |
Fix type hinting
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/DAV/Sharing/Xml/Invite.php | 2 | ||||
-rw-r--r-- | apps/dav/lib/Files/CustomPropertiesBackend.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SFTP.php | 4 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SMB.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/Migration.php | 3 |
5 files changed, 7 insertions, 6 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Xml/Invite.php b/apps/dav/lib/DAV/Sharing/Xml/Invite.php index a14de7bc634..7ffe9a322c1 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/Invite.php +++ b/apps/dav/lib/DAV/Sharing/Xml/Invite.php @@ -50,7 +50,7 @@ class Invite implements XmlSerializable { * The organizer contains information about the person who shared the * object. * - * @var array + * @var array|null */ protected $organizer; diff --git a/apps/dav/lib/Files/CustomPropertiesBackend.php b/apps/dav/lib/Files/CustomPropertiesBackend.php index aa541f88dad..41c596b9612 100644 --- a/apps/dav/lib/Files/CustomPropertiesBackend.php +++ b/apps/dav/lib/Files/CustomPropertiesBackend.php @@ -58,7 +58,7 @@ class CustomPropertiesBackend implements BackendInterface { private $connection; /** - * @var IUser + * @var string */ private $user; 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); diff --git a/apps/files_sharing/lib/Migration.php b/apps/files_sharing/lib/Migration.php index ad3d026d0f6..b3759ea7b5f 100644 --- a/apps/files_sharing/lib/Migration.php +++ b/apps/files_sharing/lib/Migration.php @@ -24,6 +24,7 @@ namespace OCA\Files_Sharing; use Doctrine\DBAL\Connection; +use OCP\ICache; use OCP\IDBConnection; use OC\Cache\CappedMemoryCache; @@ -38,7 +39,7 @@ class Migration { /** @var IDBConnection */ private $connection; - /** @var array with all shares we already saw */ + /** @var ICache with all shares we already saw */ private $shareCache; /** @var string */ |