@@ -132,14 +132,14 @@ |
||
132 | 132 | public function serialize() |
133 | 133 | { |
134 | 134 | return [ |
135 | - 'phone' => $this->phone, |
|
136 | - 'email' => $this->email, |
|
137 | - 'url' => $this->url, |
|
138 | - 'urlLabel' => $this->urlLabel, |
|
139 | - 'name' => $this->name, |
|
140 | - 'description' => $this->description, |
|
141 | - 'availabilityStarts' => $this->availabilityStarts, |
|
142 | - 'availabilityEnds' => $this->availabilityEnds, |
|
135 | + 'phone' => $this->phone, |
|
136 | + 'email' => $this->email, |
|
137 | + 'url' => $this->url, |
|
138 | + 'urlLabel' => $this->urlLabel, |
|
139 | + 'name' => $this->name, |
|
140 | + 'description' => $this->description, |
|
141 | + 'availabilityStarts' => $this->availabilityStarts, |
|
142 | + 'availabilityEnds' => $this->availabilityEnds, |
|
143 | 143 | ]; |
144 | 144 | } |
145 | 145 |
@@ -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 | } |