fix parameter declaration and class initialisation

This commit is contained in:
Bjoern Schiessle 2015-03-30 10:43:37 +02:00 committed by Thomas Müller
parent 937efe856d
commit 2331298380
2 changed files with 5 additions and 4 deletions

View file

@ -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();

View file

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