summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-12 14:06:02 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-12 16:48:11 +0200
commit6ac2b8d83f95974d2ed4c0abf926cefbe8944cec (patch)
tree166db625d138008e32ba5e38fa5fda10ced7bc3e /apps/twofactor_backupcodes/lib
parent60c22dd074c6f81e37c764616e0cf659fb0e2d14 (diff)
downloadnextcloud-server-6ac2b8d83f95974d2ed4c0abf926cefbe8944cec.tar.gz
nextcloud-server-6ac2b8d83f95974d2ed4c0abf926cefbe8944cec.zip
Fix twofactor_backupcodes
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r--apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
index 3d7240fd6ac..8acdfa45aae 100644
--- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
+++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
@@ -38,7 +38,7 @@ class BackupCodeMapper extends Mapper {
* @return BackupCode[]
*/
public function getBackupCodes(IUser $user) {
- /* @var $qb IQueryBuilder */
+ /* @var IQueryBuilder $qb */
$qb = $this->db->getQueryBuilder();
$qb->select('id', 'user_id', 'code', 'used')
@@ -55,7 +55,7 @@ class BackupCodeMapper extends Mapper {
}
public function deleteCodes(IUser $user) {
- /* @var $qb IQueryBuilder */
+ /* @var IQueryBuilder $qb */
$qb = $this->db->getQueryBuilder();
$qb->delete('twofactor_backup_codes')