Skip to content

Commit

Permalink
argument can not be null
Browse files Browse the repository at this point in the history
  • Loading branch information
goetas committed Aug 23, 2019
1 parent 52b1726 commit 80aec06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonSerializationVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function hasData(string $key): bool
}

/**
* @deprecated Use `::visitProperty(new StaticPropertyMetadata(null, 'name', 'value'), 'value')` instead
* @deprecated Use `::visitProperty(new StaticPropertyMetadata('', 'name', 'value'), 'value')` instead
*
* Allows you to replace existing data on the current object element.
*
Expand Down

0 comments on commit 80aec06

Please sign in to comment.