@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | $jsonLD->name->{$this->getMainLanguage($jsonLD)->getCode()} = $majorInfoUpdated->getTitle(); |
541 | 541 | |
542 | 542 | $jsonLD->location = array( |
543 | - '@type' => 'Place', |
|
543 | + '@type' => 'Place', |
|
544 | 544 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
545 | 545 | |
546 | 546 | $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar()); |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | |
577 | 577 | $jsonLD->location = [ |
578 | 578 | '@type' => 'Place', |
579 | - ] + (array) $this->placeJSONLD($locationUpdated->getLocationId()->toNative()); |
|
579 | + ] + (array) $this->placeJSONLD($locationUpdated->getLocationId()->toNative()); |
|
580 | 580 | |
581 | 581 | return $document->withBody($jsonLD); |
582 | 582 | } |