Fix undefined properties
This commit is contained in:
parent
a84250e0af
commit
8f84c99e3f
|
@ -35,6 +35,12 @@ class BirthdayService {
|
||||||
/** @var GroupPrincipalBackend */
|
/** @var GroupPrincipalBackend */
|
||||||
private $principalBackend;
|
private $principalBackend;
|
||||||
|
|
||||||
|
/** @var CalDavBackend */
|
||||||
|
private $calDavBackEnd;
|
||||||
|
|
||||||
|
/** @var CardDavBackend */
|
||||||
|
private $cardDavBackEnd;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BirthdayService constructor.
|
* BirthdayService constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -25,6 +25,8 @@ use OCP\Contacts\IManager;
|
||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
|
|
||||||
class ContactsManager {
|
class ContactsManager {
|
||||||
|
/** @var CardDavBackend */
|
||||||
|
private $backend;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ContactsManager constructor.
|
* ContactsManager constructor.
|
||||||
|
|
|
@ -43,6 +43,12 @@ class Server {
|
||||||
/** @var IRequest */
|
/** @var IRequest */
|
||||||
private $request;
|
private $request;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
|
private $baseUri;
|
||||||
|
|
||||||
|
/** @var Connector\Sabre\Server */
|
||||||
|
protected $server;
|
||||||
|
|
||||||
public function __construct(IRequest $request, $baseUri) {
|
public function __construct(IRequest $request, $baseUri) {
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->baseUri = $baseUri;
|
$this->baseUri = $baseUri;
|
||||||
|
|
|
@ -43,7 +43,7 @@ class DbHandler {
|
||||||
private $connection;
|
private $connection;
|
||||||
|
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $IL10N;
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $dbTable = 'trusted_servers';
|
private $dbTable = 'trusted_servers';
|
||||||
|
@ -87,7 +87,7 @@ class DbHandler {
|
||||||
return (int)$this->connection->lastInsertId('*PREFIX*'.$this->dbTable);
|
return (int)$this->connection->lastInsertId('*PREFIX*'.$this->dbTable);
|
||||||
} else {
|
} else {
|
||||||
$message = 'Internal failure, Could not add ownCloud as trusted server: ' . $url;
|
$message = 'Internal failure, Could not add ownCloud as trusted server: ' . $url;
|
||||||
$message_t = $this->l->t('Could not add server');
|
$message_t = $this->IL10N->t('Could not add server');
|
||||||
throw new HintException($message, $message_t);
|
throw new HintException($message, $message_t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,9 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
||||||
*/
|
*/
|
||||||
private $rescanDelay = 10;
|
private $rescanDelay = 10;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
|
private $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @return string correctly encoded path
|
* @return string correctly encoded path
|
||||||
|
|
|
@ -68,6 +68,10 @@ class Swift extends \OC\Files\Storage\Common {
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private $params;
|
private $params;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
|
private $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue