Fix MigrationSchemaChecker and CryptoWrapper

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-19 18:46:01 +02:00 committed by Roeland Jago Douma
parent b53c4c0db9
commit 4166d61ce6
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 11 additions and 3 deletions

View File

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

View File

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