Passed
Push — master ( 12c08e...9143b7 )
by Gaetano
09:48
created
Core/Executor/ContentManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             )
Please login to merge, or discard this patch.