@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - */ |
|
3 | + * @file |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace CultuurNet\UDB3\Event; |
7 | 7 | |
@@ -495,7 +495,7 @@ discard block |
||
495 | 495 | |
496 | 496 | $jsonLD->name->nl = $majorInfoUpdated->getTitle(); |
497 | 497 | $jsonLD->location = array( |
498 | - '@type' => 'Place', |
|
498 | + '@type' => 'Place', |
|
499 | 499 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
500 | 500 | |
501 | 501 | $calendarJsonLD = $majorInfoUpdated->getCalendar()->toJsonLd(); |
@@ -742,7 +742,7 @@ discard block |
||
742 | 742 | $eventLd = $document->getBody(); |
743 | 743 | |
744 | 744 | $eventLd->organizer = array( |
745 | - '@type' => 'Organizer', |
|
745 | + '@type' => 'Organizer', |
|
746 | 746 | ) + (array)$this->organizerJSONLD($organizerUpdated->getOrganizerId()); |
747 | 747 | |
748 | 748 | $this->repository->save($document->withBody($eventLd)); |