Completed
Pull Request — master (#164)
by Damian
05:49
created
Core/Executor/ContentManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             )
Please login to merge, or discard this patch.