@@ -9,7 +9,6 @@ |
||
| 9 | 9 | |
| 10 | 10 | use DmitryDulepov\Realurl\Configuration\ConfigurationReader; |
| 11 | 11 | use DmitryDulepov\Realurl\Utility; |
| 12 | -use HDNET\Calendarize\Domain\Model\Index; |
|
| 13 | 12 | use HDNET\Calendarize\Service\IndexerService; |
| 14 | 13 | use HDNET\Calendarize\Utility\HelperUtility; |
| 15 | 14 | use TYPO3\CMS\Core\Database\ConnectionPool; |
@@ -87,8 +87,7 @@ |
||
| 87 | 87 | $startDateTime = new \DateTime($icalEvent['DTSTART']); |
| 88 | 88 | if($icalEvent['DTEND']) { |
| 89 | 89 | $endDateTime = new \DateTime($icalEvent['DTEND']); |
| 90 | - } |
|
| 91 | - else { |
|
| 90 | + } else { |
|
| 92 | 91 | $endDateTime = clone($startDateTime); |
| 93 | 92 | $endDateTime->add(new \DateInterval($icalEvent['DURATION'])); |
| 94 | 93 | } |