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 */
|
||||
public $errors = [];
|
||||
|
||||
/**
|
||||
* @param Node $node
|
||||
* @return void
|
||||
*
|
||||
* @suppress PhanUndeclaredProperty
|
||||
*/
|
||||
public function enterNode(Node $node) {
|
||||
/**
|
||||
* Check tables
|
||||
|
|
|
@ -50,14 +50,16 @@ use OCP\Security\ISecureRandom;
|
|||
class CryptoWrapper {
|
||||
const COOKIE_NAME = 'oc_sessionPassphrase';
|
||||
|
||||
/** @var IConfig */
|
||||
protected $config;
|
||||
/** @var ISession */
|
||||
protected $session;
|
||||
|
||||
/** @var \OCP\Security\ICrypto */
|
||||
/** @var ICrypto */
|
||||
protected $crypto;
|
||||
|
||||
/** @var ISecureRandom */
|
||||
protected $random;
|
||||
/** @var string */
|
||||
protected $passphrase;
|
||||
|
||||
/**
|
||||
* @param IConfig $config
|
||||
|
|
Loading…
Reference in New Issue