|
|
|
|
@ -2732,7 +2732,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
|
|
|
|
* @param string $calendarData
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function getDenormalizedData($calendarData) {
|
|
|
|
|
public function getDenormalizedData(string $calendarData): array {
|
|
|
|
|
$vObject = Reader::read($calendarData);
|
|
|
|
|
$vEvents = [];
|
|
|
|
|
$componentType = null;
|
|
|
|
|
@ -2746,7 +2746,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
|
|
|
|
if ($component->name !== 'VTIMEZONE') {
|
|
|
|
|
// Finding all VEVENTs, and track them
|
|
|
|
|
if ($component->name === 'VEVENT') {
|
|
|
|
|
array_push($vEvents, $component);
|
|
|
|
|
$vEvents[] = $component;
|
|
|
|
|
if ($component->DTSTART) {
|
|
|
|
|
$hasDTSTART = true;
|
|
|
|
|
}
|
|
|
|
|
|