original_string: public function markAsRead($userId)
      {
          try {
              $participant = $this->getParticipantFromUser($userId);
              $participant->last_read = new Carbon;
              $participant->save();
          } catch (ModelNotFoundException $e) {
              // do nothing
          }
      }
code: public function markAsRead($userId)
      {
          try {
              $participant = $this->getParticipantFromUser($userId);
              $participant->last_read = new Carbon;
              $participant->save();
          } catch (ModelNotFoundException $e) {
              // do nothing
          }
      }
code_tokens: public function markAsRead ( $ userId ) { try { $ participant = $ this -> getParticipantFromUser ( $ userId ) ; $ participant -> last_read = new Carbon ; $ participant -> save ( ) ; } catch ( ModelNotFoundException $ e ) { // do nothing } }
docstring: Mark a thread as read for a user
  
  @param integer $userId
docstring_tokens: Mark a thread as read for a user