@@ -97,19 +97,19 @@ discard block |
||
| 97 | 97 | private function createConfidentialObject(Component\VCalendar $vObject) { |
| 98 | 98 | /** @var Component $vElement */ |
| 99 | 99 | $vElement = null; |
| 100 | - if(isset($vObject->VEVENT)) { |
|
| 100 | + if (isset($vObject->VEVENT)) { |
|
| 101 | 101 | $vElement = $vObject->VEVENT; |
| 102 | 102 | } |
| 103 | - if(isset($vObject->VJOURNAL)) { |
|
| 103 | + if (isset($vObject->VJOURNAL)) { |
|
| 104 | 104 | $vElement = $vObject->VJOURNAL; |
| 105 | 105 | } |
| 106 | - if(isset($vObject->VTODO)) { |
|
| 106 | + if (isset($vObject->VTODO)) { |
|
| 107 | 107 | $vElement = $vObject->VTODO; |
| 108 | 108 | } |
| 109 | - if(!is_null($vElement)) { |
|
| 109 | + if (!is_null($vElement)) { |
|
| 110 | 110 | foreach ($vElement->children() as &$property) { |
| 111 | 111 | /** @var Property $property */ |
| 112 | - switch($property->name) { |
|
| 112 | + switch ($property->name) { |
|
| 113 | 113 | case 'CREATED': |
| 114 | 114 | case 'DTSTART': |
| 115 | 115 | case 'RRULE': |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | private function removeVAlarms(Component\VCalendar $vObject) { |
| 138 | 138 | $subcomponents = $vObject->getComponents(); |
| 139 | 139 | |
| 140 | - foreach($subcomponents as $subcomponent) { |
|
| 140 | + foreach ($subcomponents as $subcomponent) { |
|
| 141 | 141 | unset($subcomponent->VALARM); |
| 142 | 142 | } |
| 143 | 143 | } |