More return types

This commit is contained in:
Matias De lellis committed 2021-09-20 21:39:10 -03:00
1 parent 53ed22172c
commit af37467128
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ class NoteTagMapper extends QBMapper {
parent::__construct($db, 'quicknotes_note_tags', NoteTag::class);
}
public function findNoteTag(string $userId, int $noteId, $tagId): NoteTag {
public function findNoteTag(string $userId, int $noteId, int $tagId): NoteTag {
$qb = $this->db->getQueryBuilder();
$qb->select('*')
->from($this->getTableName())