@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $object, |
61 | 61 | TransferManagerInterface $transferManager |
62 | 62 | ): callable { |
63 | - return function () use ($metadata, $name, $object, $transferManager) { |
|
63 | + return function() use ($metadata, $name, $object, $transferManager) { |
|
64 | 64 | /* @var $propertyMetadata PropertyMetadata */ |
65 | 65 | $propertyMetadata = $metadata->propertyMetadata[$name]; |
66 | 66 | $type = $propertyMetadata->getParsedType(); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $belongsTo = $propertyMetadata->getAnnotation(BelongsTo::class); |
84 | 84 | |
85 | 85 | if ($belongsTo instanceof BelongsTo && empty($propertyMetadata->getValue($object))) { |
86 | - $idValue = $metadata->propertyMetadata[$belongsTo->foreignField]->getValue($object); |
|
86 | + $idValue = $metadata->propertyMetadata[$belongsTo->foreignField]->getValue($object); |
|
87 | 87 | |
88 | 88 | if (!$idValue) { |
89 | 89 | return; |