original_string: public function checkTokensFromStart(\Gems_Tracker_RespondentTrack $respTrack, $userId)
      {
          $token = $respTrack->getFirstToken();
          if ($token instanceof \Gems_Tracker_Token) {
              return $this->checkTokensFrom($respTrack, $respTrack->getFirstToken(), $userId);
          } else {
              return 0;
          }
      }
code: public function checkTokensFromStart(\Gems_Tracker_RespondentTrack $respTrack, $userId)
      {
          $token = $respTrack->getFirstToken();
          if ($token instanceof \Gems_Tracker_Token) {
              return $this->checkTokensFrom($respTrack, $respTrack->getFirstToken(), $userId);
          } else {
              return 0;
          }
      }
code_tokens: public function checkTokensFromStart ( \ Gems_Tracker_RespondentTrack $ respTrack , $ userId ) { $ token = $ respTrack -> getFirstToken ( ) ; if ( $ token instanceof \ Gems_Tracker_Token ) { return $ this -> checkTokensFrom ( $ respTrack , $ respTrack -> getFirstToken ( ) , $ userId ) ; } else { return 0 ; } }
docstring: Check the valid from and until dates in the track
  
  @param \Gems_Tracker_RespondentTrack $respTrack The respondent track to check
  @param int $userId Id of the user who takes the action (for logging)
  @return int The number of tokens changed by this code
docstring_tokens: Check the valid from and until dates in the track