original_string: public function getLimit()
      {
          if ($this->max > 0) {
              return min($this->max, $this->limit);
          }
  
          return $this->limit;
      }
code: public function getLimit()
      {
          if ($this->max > 0) {
              return min($this->max, $this->limit);
          }
  
          return $this->limit;
      }
code_tokens: public function getLimit ( ) { if ( $ this -> max > 0 ) { return min ( $ this -> max , $ this -> limit ) ; } return $ this -> limit ; }
docstring: Gets the limit.
  
  @return int
docstring_tokens: Gets the limit .