Add type to two mappers..

This commit is contained in:
Matias De lellis committed 2021-09-19 23:05:18 -03:00
1 parent bc7de52634
commit dc51436288
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ use OCA\QuickNotes\Db\Attach;
class AttachMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'quicknotes_attach');
parent::__construct($db, 'quicknotes_attach', Attach::class);
}
/**
+1 -1
View File
@@ -10,7 +10,7 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
class NoteMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'quicknotes_notes', 'OCA\QuickNotes\Db\Note');
parent::__construct($db, 'quicknotes_notes', Note::class);
}
/**