Completed
Push — master ( 753f22...ae414b )
by Gaetano
08:40
created
Core/Executor/ContentManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
                         $hashValue = $this->complexFieldManager->fieldValueToHash(
425 425
                             $fieldDefinition->fieldTypeIdentifier, $contentType->identifier, $field->value
426 426
                         );
427
-                        if (is_array($hashValue) ) {
427
+                        if (is_array($hashValue)) {
428 428
                             if (count($parts) == 2 && $fieldIdentifier === $parts[1]) {
429 429
                                 throw new \InvalidArgumentException('Content Manager does not support setting references for attribute ' . $reference['attribute'] . ': the given attribute has an array value');
430 430
                             }
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
                     $locations = $locationService->loadLocations($content->contentInfo);
496 496
                     if (count($locations) > 1) {
497 497
                         $otherParentLocations = array();
498
-                        foreach($locations as $otherLocation) {
498
+                        foreach ($locations as $otherLocation) {
499 499
                             if ($otherLocation->id != $location->id) {
500 500
                                 $otherParentLocations[] = $otherLocation->parentLocationId;
501 501
                             }
Please login to merge, or discard this patch.