diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-09 16:56:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-09-12 16:48:11 +0200 |
commit | 60c22dd074c6f81e37c764616e0cf659fb0e2d14 (patch) | |
tree | 95671cb25de94d0511f816239b2c98b8e3894436 /apps/twofactor_backupcodes | |
parent | 01cf85e4e5e610bf667e4a55ff9647542aa926d1 (diff) | |
download | nextcloud-server-60c22dd074c6f81e37c764616e0cf659fb0e2d14.tar.gz nextcloud-server-60c22dd074c6f81e37c764616e0cf659fb0e2d14.zip |
Fix more sniffing
Diffstat (limited to 'apps/twofactor_backupcodes')
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCode.php b/apps/twofactor_backupcodes/lib/Db/BackupCode.php index 5bfb681063c..a59a414e189 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCode.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCode.php @@ -1,5 +1,4 @@ <?php - /** * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @@ -22,6 +21,7 @@ namespace OCA\TwoFactor_BackupCodes\Db; + use OCP\AppFramework\Db\Entity; /** diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php index d6256929675..3d7240fd6ac 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php @@ -1,5 +1,4 @@ <?php - /** * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @@ -22,6 +21,7 @@ namespace OCA\TwoFactor_BackupCodes\Db; + use OCP\AppFramework\Db\Mapper; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDb; diff --git a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php index 57c262e1940..1ebf445bb0f 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php @@ -32,13 +32,13 @@ use Test\TestCase; class BackupCodeStorageTest extends TestCase { - /** @var BackupCodeMapper|PHPUnit_Framework_MockObject_MockObject */ + /** @var BackupCodeMapper|\PHPUnit_Framework_MockObject_MockObject */ private $mapper; - /** @var ISecureRandom|PHPUnit_Framework_MockObject_MockObject */ + /** @var ISecureRandom|\PHPUnit_Framework_MockObject_MockObject */ private $random; - /** @var IHasher|PHPUnit_Framework_MockObject_MockObject */ + /** @var IHasher|\PHPUnit_Framework_MockObject_MockObject */ private $hasher; /** @var BackupCodeStorage */ |