original_string: protected function getListItems($key, $total, $offset = 0)
  	{
  		$items = array();
  
  		for ($i = $offset; $i < $total; $i++) {
  			$items[$i] = $this->database->lindex($key, $i);
  		}
  
  		return $items;
  	}
code: protected function getListItems($key, $total, $offset = 0)
  	{
  		$items = array();
  
  		for ($i = $offset; $i < $total; $i++) {
  			$items[$i] = $this->database->lindex($key, $i);
  		}
  
  		return $items;
  	}
code_tokens: protected function getListItems ( $ key , $ total , $ offset = 0 ) { $ items = array ( ) ; for ( $ i = $ offset ; $ i < $ total ; $ i ++ ) { $ items [ $ i ] = $ this -> database -> lindex ( $ key , $ i ) ; } return $ items ; }
docstring: Returns a list of items inside a list.
  
  @param  string   $key
  @param  integer  $total
  @param  integer  $offset
  @return array
docstring_tokens: Returns a list of items inside a list .