@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | |
560 | 560 | $jsonLD->name->nl = $majorInfoUpdated->getTitle(); |
561 | 561 | $jsonLD->location = array( |
562 | - '@type' => 'Place', |
|
562 | + '@type' => 'Place', |
|
563 | 563 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
564 | 564 | |
565 | 565 | $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar()); |
@@ -595,7 +595,7 @@ discard block |
||
595 | 595 | |
596 | 596 | $jsonLD->location = [ |
597 | 597 | '@type' => 'Place', |
598 | - ] + $this->placeJSONLD($locationUpdated->getLocation()->getCdbid()); |
|
598 | + ] + $this->placeJSONLD($locationUpdated->getLocation()->getCdbid()); |
|
599 | 599 | |
600 | 600 | return $document->withBody($jsonLD); |
601 | 601 | } |