@@ -11632,6 +11632,13 @@ diff --git a/src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.
11632
11632
+ protected function setAttributeValue(object $object, string $attribute, mixed $value, ?string $format = null, array $context = []): void
11633
11633
{
11634
11634
$setter = 'set'.ucfirst($attribute);
11635
+ @@ -182,5 +182,5 @@ class GetSetMethodNormalizer extends AbstractObjectNormalizer
11636
+ }
11637
+
11638
+ - protected function isAllowedAttribute($classOrObject, string $attribute, ?string $format = null, array $context = [])
11639
+ + protected function isAllowedAttribute($classOrObject, string $attribute, ?string $format = null, array $context = []): bool
11640
+ {
11641
+ if (!parent::isAllowedAttribute($classOrObject, $attribute, $format, $context)) {
11635
11642
diff --git a/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php b/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php
11636
11643
--- a/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php
11637
11644
+++ b/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php
@@ -11678,6 +11685,13 @@ diff --git a/src/Symfony/Component/Serializer/Normalizer/ObjectNormalizer.php b/
11678
11685
+ protected function setAttributeValue(object $object, string $attribute, mixed $value, ?string $format = null, array $context = []): void
11679
11686
{
11680
11687
try {
11688
+ @@ -189,5 +189,5 @@ class ObjectNormalizer extends AbstractObjectNormalizer
11689
+ }
11690
+
11691
+ - protected function isAllowedAttribute($classOrObject, string $attribute, ?string $format = null, array $context = [])
11692
+ + protected function isAllowedAttribute($classOrObject, string $attribute, ?string $format = null, array $context = []): bool
11693
+ {
11694
+ $ignoredAttributes = $context[self::IGNORED_ATTRIBUTES] ?? $this->defaultContext[self::IGNORED_ATTRIBUTES];
11681
11695
diff --git a/src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php b/src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php
11682
11696
--- a/src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php
11683
11697
+++ b/src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php
0 commit comments