Skip to content

Commit

Permalink
to keep type-hinting compatibility, the json serialization visitor st…
Browse files Browse the repository at this point in the history
…ill extends the generic serializer even if overrides all of its logic.

In the future releases, the generic serialization visitor will have to be just removed
  • Loading branch information
goetas committed Apr 21, 2017
1 parent e67b7a5 commit c02fecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JMS/Serializer/JsonSerializationVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use JMS\Serializer\Exception\InvalidArgumentException;
use JMS\Serializer\Metadata\PropertyMetadata;

class JsonSerializationVisitor extends AbstractVisitor
class JsonSerializationVisitor extends GenericSerializationVisitor
{
private $options = 0;

Expand Down

0 comments on commit c02fecf

Please sign in to comment.