fix parameter declaration and class initialisation
This commit is contained in:
parent
937efe856d
commit
2331298380
2 changed files with 5 additions and 4 deletions
|
@ -85,7 +85,8 @@ class Encryption extends \OCP\AppFramework\App {
|
|||
$container->query('UserSetup'),
|
||||
$server->getUserSession(),
|
||||
new \OCP\Util(),
|
||||
$container->query('Util')),
|
||||
$container->query('Util'),
|
||||
$server->getSession()),
|
||||
]);
|
||||
|
||||
$hookManager->fireHooks();
|
||||
|
|
|
@ -46,16 +46,16 @@ class Encryption implements IEncryptionModule {
|
|||
/** @var boolean */
|
||||
private $isWriteOperation;
|
||||
|
||||
/** @var \OC\Encryption\Util */
|
||||
/** @var \OCA\Encryption\Util */
|
||||
private $util;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param \OCA\Encryption\Crypto\Crypt $crypt
|
||||
* @param KeyManager $keymanager
|
||||
* @param \OC\Encryption\Util $util
|
||||
* @param \OCA\Encryption\Util $util
|
||||
*/
|
||||
public function __construct(Crypt $crypt, KeyManager $keymanager, \OC\Encryption\Util $util) {
|
||||
public function __construct(Crypt $crypt, KeyManager $keymanager, \OCA\Encryption\Util $util) {
|
||||
$this->crypt = $crypt;
|
||||
$this->keymanager = $keymanager;
|
||||
$this->util = $util;
|
||||
|
|
Loading…
Reference in a new issue