original_string: protected static function get_real_timeout(int $timeout) : int {
          global $CFG;
          if (!empty($CFG->behat_increasetimeout)) {
              return $timeout * $CFG->behat_increasetimeout;
          } else {
              return $timeout;
          }
      }
code: protected static function get_real_timeout(int $timeout) : int {
          global $CFG;
          if (!empty($CFG->behat_increasetimeout)) {
              return $timeout * $CFG->behat_increasetimeout;
          } else {
              return $timeout;
          }
      }
code_tokens: protected static function get_real_timeout ( int $ timeout ) : int { global $ CFG ; if ( ! empty ( $ CFG -> behat_increasetimeout ) ) { return $ timeout * $ CFG -> behat_increasetimeout ; } else { return $ timeout ; } }
docstring: Gets the required timeout in seconds.
  
  @param int $timeout One of the TIMEOUT constants
  @return int Actual timeout (in seconds)
docstring_tokens: Gets the required timeout in seconds .