@@ -52,8 +52,7 @@ |
||
| 52 | 52 | if (isset($this->fieldTypeMap[$contentTypeIdentifier][$fieldTypeIdentifier]) || isset($this->fieldTypeMap['*'][$fieldTypeIdentifier])) |
| 53 | 53 | { |
| 54 | 54 | $fieldService = isset($this->fieldTypeMap[$contentTypeIdentifier][$fieldTypeIdentifier]) ? |
| 55 | - $this->fieldTypeMap[$contentTypeIdentifier][$fieldTypeIdentifier] : |
|
| 56 | - $this->fieldTypeMap['*'][$fieldTypeIdentifier]; |
|
| 55 | + $this->fieldTypeMap[$contentTypeIdentifier][$fieldTypeIdentifier] : $this->fieldTypeMap['*'][$fieldTypeIdentifier]; |
|
| 57 | 56 | return $fieldService->createValue($fieldValue, $context); |
| 58 | 57 | } |
| 59 | 58 | else |
@@ -325,7 +325,7 @@ |
||
| 325 | 325 | * The Location Manager currently supports setting references to location id. |
| 326 | 326 | * |
| 327 | 327 | * @throws \InvalidArgumentException When trying to set a reference to an unsupported attribute. |
| 328 | - * @param \eZ\Publish\API\Repository\Values\Content\Location|LocationCollection $location |
|
| 328 | + * @param LocationCollection|null $location |
|
| 329 | 329 | * @return boolean |
| 330 | 330 | */ |
| 331 | 331 | protected function setReferences($location) |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | case 'tag': |
| 50 | 50 | case 'user': |
| 51 | 51 | case 'user_group': |
| 52 | - $out = $type . ' ' . $this->getObjectIdentifierAsString($obj) . ' has been ' . $action; |
|
| 52 | + $out = $type . ' ' . $this->getObjectIdentifierAsString($obj) . ' has been ' . $action; |
|
| 53 | 53 | break; |
| 54 | 54 | case 'sql': |
| 55 | 55 | $out = 'sql has been executed'; |