/**
  * Sync up the list of users in the database.
  *
  * @param Ticket $ticket
  * @param array $users
  */
 private function syncUsers(Ticket $ticket, array $users)
 {
     $ticket->users()->sync($users);
 }