diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index c693424..baafa4e 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -18,3 +18,4 @@ f74b50a0c5a93e2042dd0899f67dc0d77d9f37b2 68d26b0bcc009757d3a8c4b4aca534522832a35b 48e5c975f454025717dcbb55c82fa08e4f463241 11a1cd1aee3bca0336bfd1da90aec77f41577241 +9b1f19622f5f0ff72cc171fd298121ac0720f805 diff --git a/.idea/php.xml b/.idea/php.xml index 4dc0b87..86d6466 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -99,6 +99,8 @@ + + diff --git a/.idea/stdlib.iml b/.idea/stdlib.iml index b1830d2..fff6c83 100644 --- a/.idea/stdlib.iml +++ b/.idea/stdlib.iml @@ -82,6 +82,8 @@ + + diff --git a/src/Objects/JsonSerializer.php b/src/Objects/JsonSerializer.php index 4be5b3e..2640d5b 100644 --- a/src/Objects/JsonSerializer.php +++ b/src/Objects/JsonSerializer.php @@ -7,7 +7,6 @@ use Symfony\Component\Serializer\Normalizer\ObjectNormalizer; use Symfony\Component\Serializer\Serializer; -/** @experimental */ class JsonSerializer { protected static Collection $normalizers; @@ -16,7 +15,7 @@ class JsonSerializer public static function normalizers(): Collection { $defaultNormalizers = [ - ObjectNormalizer::class, + new ObjectNormalizer, ]; if (!isset(static::$normalizers)) {