diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-06 22:28:32 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-06 22:28:32 +0300 |
commit | 12446dc2e4b99f69159b709d121868c19c49407b (patch) | |
tree | 3e531ca996bf6a83fe0d3e7b951d0270db720fa4 /lib/Provider/TotpProvider.php | |
parent | 51d29a018892aab8081f064260135a71f2e43e35 (diff) |
fix namespaces and DI
Diffstat (limited to 'lib/Provider/TotpProvider.php')
-rw-r--r-- | lib/Provider/TotpProvider.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Provider/TotpProvider.php b/lib/Provider/TotpProvider.php index f147e3c..dc72331 100644 --- a/lib/Provider/TotpProvider.php +++ b/lib/Provider/TotpProvider.php @@ -19,9 +19,9 @@ * */ -namespace OCA\TwoFactorTotp\Provider; +namespace OCA\TwoFactor_Totp\Provider; -use OCA\TwoFactorTotp\Service\Totp; +use OCA\TwoFactor_Totp\Service\ITotp; use OCP\Authentication\TwoFactorAuth\IProvider; use OCP\IL10N; use OCP\IUser; @@ -29,7 +29,7 @@ use OCP\Template; class TotpProvider implements IProvider { - /** @var Totp */ + /** @var ITotp */ private $totp; /** @var IL10N */ @@ -39,7 +39,7 @@ class TotpProvider implements IProvider { * @param Totp $totp * @param IL10N $l10n */ - public function __construct(Totp $totp, IL10N $l10n) { + public function __construct(ITotp $totp, IL10N $l10n) { $this->totp = $totp; $this->l10n = $l10n; } |