@@ -533,7 +533,7 @@ |
||
533 | 533 | |
534 | 534 | $jsonLD->name->nl = $majorInfoUpdated->getTitle(); |
535 | 535 | $jsonLD->location = array( |
536 | - '@type' => 'Place', |
|
536 | + '@type' => 'Place', |
|
537 | 537 | ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid()); |
538 | 538 | |
539 | 539 | $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar()); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | return array_reduce( |
63 | 63 | $data, |
64 | 64 | function (DayOfWeekCollection $collection, $dayOfWeek) { |
65 | - return $collection->addDayOfWeek(DayOfWeek::fromNative($dayOfWeek)); |
|
65 | + return $collection->addDayOfWeek(DayOfWeek::fromNative($dayOfWeek)); |
|
66 | 66 | }, |
67 | 67 | new DayOfWeekCollection() |
68 | 68 | ); |