original_string: public function get_years($minyear = null, $maxyear = null) {
          if (is_null($minyear)) {
              $minyear = $this->get_min_year();
          }
  
          if (is_null($maxyear)) {
              $maxyear = $this->get_max_year();
          }
  
          $years = array();
          for ($i = $minyear; $i <= $maxyear; $i++) {
              $years[$i] = $i;
          }
  
          return $years;
      }
code: public function get_years($minyear = null, $maxyear = null) {
          if (is_null($minyear)) {
              $minyear = $this->get_min_year();
          }
  
          if (is_null($maxyear)) {
              $maxyear = $this->get_max_year();
          }
  
          $years = array();
          for ($i = $minyear; $i <= $maxyear; $i++) {
              $years[$i] = $i;
          }
  
          return $years;
      }
code_tokens: public function get_years ( $ minyear = null , $ maxyear = null ) { if ( is_null ( $ minyear ) ) { $ minyear = $ this -> get_min_year ( ) ; } if ( is_null ( $ maxyear ) ) { $ maxyear = $ this -> get_max_year ( ) ; } $ years = array ( ) ; for ( $ i = $ minyear ; $ i <= $ maxyear ; $ i ++ ) { $ years [ $ i ] = $ i ; } return $ years ; }
docstring: Returns an array of years.
  
  @param int $minyear
  @param int $maxyear
  @return array the years
docstring_tokens: Returns an array of years .