Skip to content

Commit

Permalink
fixed docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jockri committed Jun 11, 2015
1 parent c4eaf97 commit 4de82ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/JMS/Serializer/GenericSerializationVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 4de82ce

Please sign in to comment.