Completed
Branch master (ad4118)
by Jelle
05:32
created
src/Entity/EntityManagerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Entity/EntityManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/PropertyMapper/PropertyDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
    *
96 96
    * @return void
97 97
    */
98
-  public function sanitizeProperty(\stdClass &$object, FactoryContainerInterface $factoryContainer) {
98
+  public 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()) {
Please login to merge, or discard this patch.