Add type to two mappers..

This commit is contained in:
Matias De lellis
2021-09-19 23:05:18 -03:00
parent bc7de52634
commit dc51436288
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ use OCA\QuickNotes\Db\Attach;
class AttachMapper extends QBMapper { class AttachMapper extends QBMapper {
public function __construct(IDBConnection $db) { public function __construct(IDBConnection $db) {
parent::__construct($db, 'quicknotes_attach'); parent::__construct($db, 'quicknotes_attach', Attach::class);
} }
/** /**

View File

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