From 507f489d1fd81231c515f1b5f77b75e9dbe9e5ea Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 7 Mar 2024 18:18:22 +0100 Subject: [PATCH] [Serializer] Fix fixture --- Tests/Normalizer/ObjectNormalizerTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/Normalizer/ObjectNormalizerTest.php b/Tests/Normalizer/ObjectNormalizerTest.php index 36957ac5..9e4c76d9 100644 --- a/Tests/Normalizer/ObjectNormalizerTest.php +++ b/Tests/Normalizer/ObjectNormalizerTest.php @@ -1043,6 +1043,11 @@ public function __get($name) return $this->foo = 123; } } + + public function __isset($name) + { + return 'foo' === $name; + } } class FormatAndContextAwareNormalizer extends ObjectNormalizer