@@ -6,6 +6,7 @@ class PreSerializeEvent extends Event
{
/**
* @param string $typeName
+ * @param array $params
*/
public function setType($typeName, array $params = array())
@@ -83,6 +83,7 @@ abstract class GenericSerializationVisitor extends AbstractVisitor
* @param array $data
+ * @param array $type
public function visitArray($data, array $type)
@@ -92,6 +92,7 @@ class DateTimeHandler implements SubscribingHandlerInterface
* @return string
private function getFormat(array $type)
@@ -123,6 +123,9 @@ final class TypeParser
return null !== $this->next;
}
+ /**
+ * @param integer $token
+ */
public static function getTokenName($token)
$ref = new \ReflectionClass(get_called_class());
@@ -81,6 +81,7 @@ class YamlSerializationVisitor extends AbstractVisitor