diff options
-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 */ |