aboutsummaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-09 14:33:17 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-12 11:10:09 +0200
commit2664c7f75fb0008356c6ab03aba991db4c445860 (patch)
tree2199e401fc70ff5dcc2e2e50a4da158c0670374c /apps/twofactor_backupcodes/lib
parenta1b351036c62e5557ff4f718a919188d23db7332 (diff)
downloadnextcloud-server-2664c7f75fb0008356c6ab03aba991db4c445860.tar.gz
nextcloud-server-2664c7f75fb0008356c6ab03aba991db4c445860.zip
Type some of the core mappers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r--apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
index 48c3fd6a84d..84972a5171a 100644
--- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
+++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
@@ -30,6 +30,9 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
use OCP\IUser;
+/**
+ * @template-extends QBMapper<BackupCode>
+ */
class BackupCodeMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'twofactor_backupcodes');