Completed
Push — master ( 8fd216...6ebbcb )
by Jelle
03:53
created
src/Entity/EntityManager.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this 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
-  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()) {
Please login to merge, or discard this patch.