@@ -10,7 +10,6 @@ |
||
10 | 10 | use FastNorth\PropertyMapper\MapperInterface; |
11 | 11 | use TheSportsDb\Entity\Factory\FactoryContainerInterface; |
12 | 12 | use TheSportsDb\Entity\Repository\RepositoryContainerInterface; |
13 | -use TheSportsDb\PropertyMapper\PropertyDefinition; |
|
14 | 13 | use TheSportsDb\PropertyMapper\Transformer\Callback; |
15 | 14 | |
16 | 15 | /** |
@@ -307,7 +307,7 @@ |
||
307 | 307 | /** |
308 | 308 | * {@inheritdoc} |
309 | 309 | */ |
310 | - public function sanitizeValues(\stdClass &$values, $entityType) { |
|
310 | + public function sanitizeValues(\stdClass & $values, $entityType) { |
|
311 | 311 | foreach ($this->getPropertyMapDefinition($entityType)->getPropertyMaps() as $map) { |
312 | 312 | $map->getDestination()->sanitizeProperty($values, $this->factoryContainer); |
313 | 313 | } |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * |
96 | 96 | * @return void |
97 | 97 | */ |
98 | - protected function sanitizeProperty(\stdClass &$object, FactoryContainerInterface $factoryContainer) { |
|
98 | + protected function sanitizeProperty(\stdClass & $object, FactoryContainerInterface $factoryContainer) { |
|
99 | 99 | if (($entityType = $this->getEntityType()) && isset($object->{$this->getName()})) { |
100 | 100 | $value = &$object->{$this->getName()}; |
101 | 101 | if ($this->isArray()) { |