original_string: public function getCurrentPageFirstItem()
      {
          $first = ($this->current - 1) * $this->limit;
  
          if ($first > $this->total) {
              return 0;
          }
  
          return $first;
      }
code: public function getCurrentPageFirstItem()
      {
          $first = ($this->current - 1) * $this->limit;
  
          if ($first > $this->total) {
              return 0;
          }
  
          return $first;
      }
code_tokens: public function getCurrentPageFirstItem ( ) { $ first = ( $ this -> current - 1 ) * $ this -> limit ; if ( $ first > $ this -> total ) { return 0 ; } return $ first ; }
docstring: Returns the first item for the current page
  @return integer
docstring_tokens: Returns the first item for the current page