@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @return void |
128 | 128 | */ |
129 | - public function sanitizeValues(\stdClass &$values, $entityType); |
|
129 | + public function sanitizeValues(\stdClass & $values, $entityType); |
|
130 | 130 | |
131 | 131 | /** |
132 | 132 | * Check if a value is considered to be empty. |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | /** |
305 | 305 | * {@inheritdoc} |
306 | 306 | */ |
307 | - public function sanitizeValues(\stdClass &$values, $entityType) { |
|
307 | + public function sanitizeValues(\stdClass & $values, $entityType) { |
|
308 | 308 | foreach ($this->getPropertyMapDefinition($entityType)->getPropertyMaps() as $map) { |
309 | 309 | $this->sanitizeProperty($values, $map->getDestination()); |
310 | 310 | } |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | * |
321 | 321 | * @return void |
322 | 322 | */ |
323 | - protected function sanitizeProperty(\stdClass &$object, PropertyDefinition $property) { |
|
323 | + protected function sanitizeProperty(\stdClass & $object, PropertyDefinition $property) { |
|
324 | 324 | if (($propType = $property->getEntityType()) && isset($object->{$property->getName()})) { |
325 | 325 | $value = &$object->{$property->getName()}; |
326 | 326 | if ($property->isArray()) { |