Ver código fonte

cosmetic tweak

Lukas Kahwe Smith 14 anos atrás
pai
commit
64c8a1ab8c
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5 2
      src/Symfony/Component/Serializer/Serializer.php

+ 5 - 2
src/Symfony/Component/Serializer/Serializer.php

@@ -75,8 +75,11 @@ class Serializer implements SerializerInterface
     /**
      * {@inheritdoc}
      */
-    public final function deserialize($data, $type, $format) {
-        return $this->denormalize($this->decode($data, $format), $type, $format);
+    public final function deserialize($data, $type, $format)
+    {
+        $data = $this->decode($data, $format);
+
+        return $this->denormalize($data, $type, $format);
     }
 
     /**