From c02fecf5d7a64917b8cfb49d78ebd742cf31473e Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Fri, 21 Apr 2017 13:23:21 +0200 Subject: [PATCH] to keep type-hinting compatibility, the json serialization visitor still 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 --- src/JMS/Serializer/JsonSerializationVisitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JMS/Serializer/JsonSerializationVisitor.php b/src/JMS/Serializer/JsonSerializationVisitor.php index 4e0f5b111..acdab2724 100644 --- a/src/JMS/Serializer/JsonSerializationVisitor.php +++ b/src/JMS/Serializer/JsonSerializationVisitor.php @@ -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;