@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | ); |
| 110 | 110 | |
| 111 | 111 | $calendar = [ |
| 112 | - 'type' => $this->type, |
|
| 112 | + 'type' => $this->type, |
|
| 113 | 113 | ]; |
| 114 | 114 | |
| 115 | 115 | empty($this->startDate) ?: $calendar['startDate'] = $this->startDate->format(DateTime::ATOM); |
@@ -222,9 +222,9 @@ discard block |
||
| 222 | 222 | $jsonLd['subEvent'] = array(); |
| 223 | 223 | foreach ($timestamps as $timestamp) { |
| 224 | 224 | $jsonLd['subEvent'][] = array( |
| 225 | - '@type' => 'udb:Event', |
|
| 226 | - 'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM), |
|
| 227 | - 'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM), |
|
| 225 | + '@type' => 'udb:Event', |
|
| 226 | + 'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM), |
|
| 227 | + 'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM), |
|
| 228 | 228 | ); |
| 229 | 229 | } |
| 230 | 230 | } |
@@ -560,7 +560,7 @@ |
||
| 560 | 560 | |
| 561 | 561 | $jsonLD->name->nl = $majorInfoUpdated->getTitle(); |
| 562 | 562 | $jsonLD->location = array( |
| 563 | - '@type' => 'udb:Place', |
|
| 563 | + '@type' => 'udb:Place', |
|
| 564 | 564 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
| 565 | 565 | |
| 566 | 566 | $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar()); |