@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | $jsonLD->name->{$this->getMainLanguage($jsonLD)->getCode()} = $majorInfoUpdated->getTitle(); |
445 | 445 | |
446 | 446 | $jsonLD->location = array( |
447 | - '@type' => 'Place', |
|
447 | + '@type' => 'Place', |
|
448 | 448 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->toNative()); |
449 | 449 | |
450 | 450 | $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar()); |
@@ -480,7 +480,7 @@ discard block |
||
480 | 480 | |
481 | 481 | $jsonLD->location = [ |
482 | 482 | '@type' => 'Place', |
483 | - ] + (array) $this->placeJSONLD($locationUpdated->getLocationId()->toNative()); |
|
483 | + ] + (array) $this->placeJSONLD($locationUpdated->getLocationId()->toNative()); |
|
484 | 484 | |
485 | 485 | return $document->withBody($jsonLD); |
486 | 486 | } |