original_string: function set_timeout($timeout) {
          if (!is_integer($timeout)) {
              if (is_numeric($timeout)) {
                  $this->timeout = (integer)$timeout;
                  return true;
              }
              return false;
          }
          $this->timeout = $timeout;
          return true;
      }
code: function set_timeout($timeout) {
          if (!is_integer($timeout)) {
              if (is_numeric($timeout)) {
                  $this->timeout = (integer)$timeout;
                  return true;
              }
              return false;
          }
          $this->timeout = $timeout;
          return true;
      }
code_tokens: function set_timeout ( $ timeout ) { if ( ! is_integer ( $ timeout ) ) { if ( is_numeric ( $ timeout ) ) { $ this -> timeout = ( integer ) $ timeout ; return true ; } return false ; } $ this -> timeout = $ timeout ; return true ; }
docstring: Allow users to override the default timeout
  @param   int $timeout    Request timeout in seconds
  $return  bool            True if param is an integer or integer string
docstring_tokens: Allow users to override the default timeout