diff --git a/doc/reference/annotations.rst b/doc/reference/annotations.rst index 25e5f3695..2d22e53b3 100644 --- a/doc/reference/annotations.rst +++ b/doc/reference/annotations.rst @@ -48,7 +48,7 @@ PHP's ``version_compare`` function. @Groups ~~~~~~~ -This annotation can be defined on a property to specifiy to if the property +This annotation can be defined on a property to specify if the property should be serialized when only serializing specific groups (see :doc:`../cookbook/exclusion_strategies`). @@ -211,7 +211,7 @@ the object has been deserialized. @HandlerCallback ~~~~~~~~~~~~~~~~ This annotation can be defined on a method if serialization/deserialization is handled -by the object iself. +by the object itself. .. code-block :: php diff --git a/src/JMS/Serializer/Construction/ObjectConstructorInterface.php b/src/JMS/Serializer/Construction/ObjectConstructorInterface.php index 6c1bb03d6..240264bee 100644 --- a/src/JMS/Serializer/Construction/ObjectConstructorInterface.php +++ b/src/JMS/Serializer/Construction/ObjectConstructorInterface.php @@ -39,6 +39,7 @@ interface ObjectConstructorInterface * @param ClassMetadata $metadata * @param mixed $data * @param array $type ["name" => string, "params" => array] + * @param DeserializationContext $context * * @return object */