original_string: protected function getLimit()
      {
          $limit = $this->activeState()->getLimit();
          if (!in_array($limit, $this->limits)) {
              //We are using lowest limit by default
              return $this->limits[0];
          }
  
          return $limit;
      }
code: protected function getLimit()
      {
          $limit = $this->activeState()->getLimit();
          if (!in_array($limit, $this->limits)) {
              //We are using lowest limit by default
              return $this->limits[0];
          }
  
          return $limit;
      }
code_tokens: protected function getLimit ( ) { $ limit = $ this -> activeState ( ) -> getLimit ( ) ; if ( ! in_array ( $ limit , $ this -> limits ) ) { //We are using lowest limit by default return $ this -> limits [ 0 ] ; } return $ limit ; }
docstring: Get active pagination limit
  
  @return int
docstring_tokens: Get active pagination limit