@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | $locations = $locationService->loadLocations($content->contentInfo); |
| 546 | 546 | if (count($locations) > 1) { |
| 547 | 547 | $otherParentLocations = array(); |
| 548 | - foreach($locations as $otherLocation) { |
|
| 548 | + foreach ($locations as $otherLocation) { |
|
| 549 | 549 | if ($otherLocation->id != $location->id) { |
| 550 | 550 | $otherParentLocations[] = $otherLocation->parentLocationId; |
| 551 | 551 | } |
@@ -596,7 +596,7 @@ discard block |
||
| 596 | 596 | } |
| 597 | 597 | |
| 598 | 598 | $attributes = array(); |
| 599 | - foreach($languages as $lang) { |
|
| 599 | + foreach ($languages as $lang) { |
|
| 600 | 600 | foreach ($content->getFieldsByLanguage($lang) as $fieldIdentifier => $field) { |
| 601 | 601 | $fieldDefinition = $contentType->getFieldDefinition($fieldIdentifier); |
| 602 | 602 | $fieldValue = $this->fieldHandlerManager->fieldValueToHash( |
@@ -744,7 +744,7 @@ discard block |
||
| 744 | 744 | }, |
| 745 | 745 | array_filter( |
| 746 | 746 | $this->repository->getContentLanguageService()->loadLanguages(), |
| 747 | - function ($language) { |
|
| 747 | + function($language) { |
|
| 748 | 748 | return $language->enabled; |
| 749 | 749 | } |
| 750 | 750 | ) |