/**
  * Save the changes.
  *
  * @param Issue $issue
  *
  * @return bool
  */
 public function persist(Issue $issue)
 {
     if ($issue->isOpen()) {
         $issue->closed = true;
         $issue->closed_at = $issue->freshTimestamp();
         $issue->closed_by_user_id = auth()->id();
         return $issue->save();
     }
     return false;
 }