findEntity($sql, [$id, $noteId]); } public function findAll($noteId) { $sql = 'SELECT * FROM *PREFIX*quicknotes_tasks WHERE note_id = ?'; return $this->findEntities($sql, [$noteId]); } }