@@ -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 | |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | ); |
352 | 352 | $jsonLD->name['nl'] = $eventCreated->getTitle(); |
353 | 353 | $jsonLD->location = array( |
354 | - '@type' => 'Place', |
|
354 | + '@type' => 'Place', |
|
355 | 355 | ) + (array)$this->placeJSONLD($eventCreated->getLocation()->getCdbid()); |
356 | 356 | |
357 | 357 | $calendarJsonLD = $eventCreated->getCalendar()->toJsonLd(); |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | |
410 | 410 | $jsonLD->name->nl = $majorInfoUpdated->getTitle(); |
411 | 411 | $jsonLD->location = array( |
412 | - '@type' => 'Place', |
|
412 | + '@type' => 'Place', |
|
413 | 413 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
414 | 414 | |
415 | 415 | $calendarJsonLD = $majorInfoUpdated->getCalendar()->toJsonLd(); |
@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | $eventLd = $document->getBody(); |
650 | 650 | |
651 | 651 | $eventLd->organizer = array( |
652 | - '@type' => 'Organizer', |
|
652 | + '@type' => 'Organizer', |
|
653 | 653 | ) + (array)$this->organizerJSONLD($organizerUpdated->getOrganizerId()); |
654 | 654 | |
655 | 655 | $this->repository->save($document->withBody($eventLd)); |
@@ -164,7 +164,7 @@ |
||
164 | 164 | |
165 | 165 | /** |
166 | 166 | * @param \CultureFeed_Cdb_Item_Event $event |
167 | - * @param $jsonLD |
|
167 | + * @param \stdClass $jsonLD |
|
168 | 168 | */ |
169 | 169 | private function importLabels(\CultureFeed_Cdb_Item_Event $event, $jsonLD) |
170 | 170 | { |