original_string: protected function calculate_skiptime(int $currentskip) : int {
          // If the feed has never failed, then the initial skiptime will be 0. We use a default of 5 minutes in this case.
          // If the feed has previously failed then we double that time.
          $newskiptime = max(MINSECS * 5, ($currentskip * 2));
  
          // Max out at the CLIENT_MAX_SKIPTIME.
          return min($newskiptime, self::CLIENT_MAX_SKIPTIME);
      }
code: protected function calculate_skiptime(int $currentskip) : int {
          // If the feed has never failed, then the initial skiptime will be 0. We use a default of 5 minutes in this case.
          // If the feed has previously failed then we double that time.
          $newskiptime = max(MINSECS * 5, ($currentskip * 2));
  
          // Max out at the CLIENT_MAX_SKIPTIME.
          return min($newskiptime, self::CLIENT_MAX_SKIPTIME);
      }
code_tokens: protected function calculate_skiptime ( int $ currentskip ) : int { // If the feed has never failed, then the initial skiptime will be 0. We use a default of 5 minutes in this case. // If the feed has previously failed then we double that time. $ newskiptime = max ( MINSECS * 5 , ( $ currentskip * 2 ) ) ; // Max out at the CLIENT_MAX_SKIPTIME. return min ( $ newskiptime , self :: CLIENT_MAX_SKIPTIME ) ; }
docstring: Calculates a new skip time for a record based on the current skip time.
  
  @param   int     $currentskip The current skip time of a record.
  @return  int     The newly calculated skip time.
docstring_tokens: Calculates a new skip time for a record based on the current skip time .