original_string: private function fillDayPeriods($startDate, $endDate)
      {
          while (($startDate->isEarlier($endDate) || $startDate == $endDate)) {
              $this->addSubperiod(new Day($startDate));
              $startDate = $startDate->addDay(1);
          }
      }
code: private function fillDayPeriods($startDate, $endDate)
      {
          while (($startDate->isEarlier($endDate) || $startDate == $endDate)) {
              $this->addSubperiod(new Day($startDate));
              $startDate = $startDate->addDay(1);
          }
      }
code_tokens: private function fillDayPeriods ( $ startDate , $ endDate ) { while ( ( $ startDate -> isEarlier ( $ endDate ) || $ startDate == $ endDate ) ) { $ this -> addSubperiod ( new Day ( $ startDate ) ) ; $ startDate = $ startDate -> addDay ( 1 ) ; } }
docstring: Fills the periods from startDate to endDate with days
  
  @param Date $startDate
  @param Date $endDate
docstring_tokens: Fills the periods from startDate to endDate with days