@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace ScayTrase\Api\Cruds\Adaptors\JmsSerializer; |
4 | 4 | |
5 | 5 | use JMS\Serializer\ArrayTransformerInterface as JmsDenormalizerInterface; |
6 | -use JMS\Serializer\Serializer; |
|
7 | 6 | use ScayTrase\Api\Cruds\EntityProcessorInterface; |
8 | 7 | |
9 | 8 | final class JmsSerializerProcessor implements EntityProcessorInterface |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** {@inheritdoc} */ |
25 | 25 | public function updateEntity($entity, $data) |
26 | 26 | { |
27 | - $newObject =$this->denormalizer->fromArray( |
|
27 | + $newObject = $this->denormalizer->fromArray( |
|
28 | 28 | $data, |
29 | 29 | get_class($entity), |
30 | 30 | JmsContextFactory::deserialization(['object_to_populate' => $entity]) |