| @@ 175-178 (lines=4) @@ | ||
| 172 | $index++; |
|
| 173 | } |
|
| 174 | ||
| 175 | if ($isOpen && ($this->startDate == $this->endDate)) { |
|
| 176 | $output[$index]['end'] = clone $this->startDate; |
|
| 177 | $isOpen = false; |
|
| 178 | } |
|
| 179 | ||
| 180 | $this->startDate->add($oneDay); |
|
| 181 | $this->adjustDayLightSavingsTime(); |
|
| @@ 214-217 (lines=4) @@ | ||
| 211 | $index++; |
|
| 212 | } |
|
| 213 | ||
| 214 | if ($isOpen && ($this->startDate == $this->endDate)) { |
|
| 215 | $output[$index]['end'] = clone $this->startDate; |
|
| 216 | $isOpen = false; |
|
| 217 | } |
|
| 218 | ||
| 219 | $this->startDate->add($oneDay); |
|
| 220 | $this->adjustDayLightSavingsTime(); |
|