@@ -393,8 +393,7 @@ |
||
| 393 | 393 | $ret[$key] = $this->referenceResolver->getReferenceValue($val); |
| 394 | 394 | } |
| 395 | 395 | } |
| 396 | - } |
|
| 397 | - else { |
|
| 396 | + } else { |
|
| 398 | 397 | $ret = $value; |
| 399 | 398 | |
| 400 | 399 | if ($this->referenceResolver->isReference($value)) { |
@@ -85,8 +85,7 @@ |
||
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | - } |
|
| 89 | - else { |
|
| 88 | + } else { |
|
| 90 | 89 | throw new \Exception("Path '$path' is neither a file nor directory"); |
| 91 | 90 | } |
| 92 | 91 | } |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | { |
| 33 | 33 | $fieldService = $this->fieldTypeMap[$fieldTypeIdentifier]; |
| 34 | 34 | return $fieldService->createValue($fieldValueArray, $context); |
| 35 | - } |
|
| 36 | - else |
|
| 35 | + } else |
|
| 37 | 36 | { |
| 38 | 37 | throw new \InvalidArgumentException("Field of type '$fieldTypeIdentifier' can not be handled as it does not have a complex field class defined"); |
| 39 | 38 | } |