@@ -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 | } |
@@ -116,9 +116,9 @@ |
||
| 116 | 116 | { |
| 117 | 117 | $serialized = array_filter( |
| 118 | 118 | [ |
| 119 | - 'phone' => $this->phone, |
|
| 120 | - 'email' => $this->email, |
|
| 121 | - 'url' => $this->url, |
|
| 119 | + 'phone' => $this->phone, |
|
| 120 | + 'email' => $this->email, |
|
| 121 | + 'url' => $this->url, |
|
| 122 | 122 | ] |
| 123 | 123 | ); |
| 124 | 124 | |