protected function putRequest() { $this->repository->update(['id' => $this->id, 'finished' => $this->finished, 'description' => $this->description]); }
/** * @param string $event * @param integer $bugId */ public function display($event, $bugId) { $tasks = $this->repository->findByBug($bugId); include_once 'pages/partials/todolist.php'; }