Fix type hinting

This commit is contained in:
Robin Appelman 2016-07-05 23:18:41 +02:00 committed by Lukas Reschke
parent 31ea10b04e
commit f98cb9efa0
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
5 changed files with 7 additions and 6 deletions

View File

@ -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;

View File

@ -58,7 +58,7 @@ class CustomPropertiesBackend implements BackendInterface {
private $connection;
/**
* @var IUser
* @var string
*/
private $user;

View File

@ -49,8 +49,8 @@ class SFTP extends \OC\Files\Storage\Common {
private $auth;
/**
* @var SFTP
*/
* @var \phpseclib\Net\SFTP
*/
protected $client;
/**

View File

@ -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);

View File

@ -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 */