@@ -424,7 +424,7 @@ discard block |
||
| 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 |
||
| 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 | } |