소스 검색

cosmetic tweak

Lukas Kahwe Smith 14 년 전
부모
커밋
64c8a1ab8c
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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);
     }
 
     /**