Ver Fonte

small performance optimization

Johannes Schmitt há 14 anos atrás
pai
commit
de0062d9a8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Serializer/Handler/ArrayCollectionHandler.php

+ 1 - 1
Serializer/Handler/ArrayCollectionHandler.php

@@ -30,7 +30,7 @@ class ArrayCollectionHandler implements DeserializationHandlerInterface
         }
 
         $visited = true;
-        $elements = $visitor->getNavigator()->accept($data, 'array'.substr($type, 15), $visitor);
+        $elements = $visitor->visitArray($data, 'array'.substr($type, 15));
 
         return new ArrayCollection($elements);
     }