@@ -78,8 +78,7 @@ discard block |
||
78 | 78 | if (array_key_exists('entityPath', $element['client'])) { |
79 | 79 | $pathSeparator = |
80 | 80 | array_key_exists('entityPathSeparator', $element['client']) ? |
81 | - $element['client']['entityPathSeparator'] : |
|
82 | - EntityMethodProvider::DEFAULT_PATH_SEPARATOR; |
|
81 | + $element['client']['entityPathSeparator'] : EntityMethodProvider::DEFAULT_PATH_SEPARATOR; |
|
83 | 82 | $methodProvider = |
84 | 83 | new EntityMethodProvider($element['client']['entityPath'], $pathSeparator, $methodProvider); |
85 | 84 | } |
@@ -143,7 +142,7 @@ discard block |
||
143 | 142 | */ |
144 | 143 | protected function mapAssociation(EntityMetadata $metadata, $type, $name, $association, $associationIds) |
145 | 144 | { |
146 | - $mapping = $this->fieldToArray($name, $association); |
|
145 | + $mapping = $this->fieldToArray($name, $association); |
|
147 | 146 | $mapping['targetEntity'] = $association['targetEntity']; |
148 | 147 | $mapping['sourceEntity'] = $metadata->getName(); |
149 | 148 | if (isset($association['fetch'])) { |