Johannes M. Schmitt пре 12 година
родитељ
комит
8a6294a0f2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/JMS/Serializer/Context.php

+ 1 - 1
src/JMS/Serializer/Context.php

@@ -70,7 +70,7 @@ abstract class Context
         $this->metadataFactory = $factory;
     }
 
-    public function accept($data, array $type)
+    public function accept($data, array $type = null)
     {
         return $this->navigator->accept($data, $type, $this);
     }