From 4de82ceffcbb2c9db7bdb5eaa96c8e73122f5466 Mon Sep 17 00:00:00 2001 From: jockri Date: Thu, 15 May 2014 17:41:29 +0200 Subject: [PATCH] fixed docblocks --- src/JMS/Serializer/GenericSerializationVisitor.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/JMS/Serializer/GenericSerializationVisitor.php b/src/JMS/Serializer/GenericSerializationVisitor.php index 0758f802a..af2690893 100644 --- a/src/JMS/Serializer/GenericSerializationVisitor.php +++ b/src/JMS/Serializer/GenericSerializationVisitor.php @@ -157,8 +157,8 @@ public function visitProperty(PropertyMetadata $metadata, $data, Context $contex * Allows you to add additional data to the current object/root element. * * @param string $key - * @param scalar|array $value This value must either be a regular scalar, or an array. - * It must not contain any objects anymore. + * @param scalar|array|null $value This value must either be a regular scalar, or an array. + * It must not contain any objects anymore. */ public function addData($key, $value) { @@ -173,8 +173,8 @@ public function addData($key, $value) * Allows you to replace existing data on the current object/root element. * * @param string $key - * @param scalar|array $value This value must either be a regular scalar, or an array. - * It must not contain any objects anymore. + * @param scalar|array|null $value This value must either be a regular scalar, or an array. + * It must not contain any objects anymore. */ public function replaceData($key, $value) {