@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | $locations = $locationService->loadLocations($content->contentInfo); |
521 | 521 | if (count($locations) > 1) { |
522 | 522 | $otherParentLocations = array(); |
523 | - foreach($locations as $otherLocation) { |
|
523 | + foreach ($locations as $otherLocation) { |
|
524 | 524 | if ($otherLocation->id != $location->id) { |
525 | 525 | $otherParentLocations[] = $otherLocation->parentLocationId; |
526 | 526 | } |
@@ -659,7 +659,7 @@ discard block |
||
659 | 659 | throw new \Exception("Field '$key' should use multilang syntax as other fields in this step"); |
660 | 660 | } |
661 | 661 | |
662 | - foreach($field as $languageCode => $value) { |
|
662 | + foreach ($field as $languageCode => $value) { |
|
663 | 663 | $fieldsList[] = [$key, $value, $languageCode]; |
664 | 664 | } |
665 | 665 | } |
@@ -709,7 +709,7 @@ discard block |
||
709 | 709 | }, |
710 | 710 | array_filter( |
711 | 711 | $this->repository->getContentLanguageService()->loadLanguages(), |
712 | - function ($language) { |
|
712 | + function($language) { |
|
713 | 713 | return $language->enabled; |
714 | 714 | } |
715 | 715 | ) |