Fix MigrationSchemaChecker and CryptoWrapper
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
b53c4c0db9
commit
4166d61ce6
|
@ -36,6 +36,12 @@ class MigrationSchemaChecker extends NodeVisitorAbstract {
|
||||||
/** @var array */
|
/** @var array */
|
||||||
public $errors = [];
|
public $errors = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Node $node
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
* @suppress PhanUndeclaredProperty
|
||||||
|
*/
|
||||||
public function enterNode(Node $node) {
|
public function enterNode(Node $node) {
|
||||||
/**
|
/**
|
||||||
* Check tables
|
* Check tables
|
||||||
|
|
|
@ -50,14 +50,16 @@ use OCP\Security\ISecureRandom;
|
||||||
class CryptoWrapper {
|
class CryptoWrapper {
|
||||||
const COOKIE_NAME = 'oc_sessionPassphrase';
|
const COOKIE_NAME = 'oc_sessionPassphrase';
|
||||||
|
|
||||||
|
/** @var IConfig */
|
||||||
|
protected $config;
|
||||||
/** @var ISession */
|
/** @var ISession */
|
||||||
protected $session;
|
protected $session;
|
||||||
|
/** @var ICrypto */
|
||||||
/** @var \OCP\Security\ICrypto */
|
|
||||||
protected $crypto;
|
protected $crypto;
|
||||||
|
|
||||||
/** @var ISecureRandom */
|
/** @var ISecureRandom */
|
||||||
protected $random;
|
protected $random;
|
||||||
|
/** @var string */
|
||||||
|
protected $passphrase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IConfig $config
|
* @param IConfig $config
|
||||||
|
|
Loading…
Reference in New Issue