@@ -1272,10 +1272,7 @@ protected function isAllowedAttribute($classOrObject, string $attribute, ?string
12721272
12731273 public function testTemplateTypeWhenAnObjectIsPassedToDenormalize ()
12741274 {
1275- $ normalizer = new class (
1276- classMetadataFactory: new ClassMetadataFactory (new AttributeLoader ()),
1277- propertyTypeExtractor: new PropertyInfoExtractor (typeExtractors: [new PhpStanExtractor (), new ReflectionExtractor ()])
1278- ) extends AbstractObjectNormalizerDummy {
1275+ $ normalizer = new class (classMetadataFactory: new ClassMetadataFactory (new AttributeLoader ()), propertyTypeExtractor: new PropertyInfoExtractor (typeExtractors: [new PhpStanExtractor (), new ReflectionExtractor ()])) extends AbstractObjectNormalizerDummy {
12791276 protected function isAllowedAttribute ($ classOrObject , string $ attribute , ?string $ format = null , array $ context = []): bool
12801277 {
12811278 return true ;
@@ -1298,10 +1295,7 @@ public function testDenormalizeTemplateType()
12981295 $ this ->markTestSkipped ('The PropertyInfo component before Symfony 7.1 does not support template types. ' );
12991296 }
13001297
1301- $ normalizer = new class (
1302- classMetadataFactory: new ClassMetadataFactory (new AttributeLoader ()),
1303- propertyTypeExtractor: new PropertyInfoExtractor (typeExtractors: [new PhpStanExtractor (), new ReflectionExtractor ()])
1304- ) extends AbstractObjectNormalizerDummy {
1298+ $ normalizer = new class (classMetadataFactory: new ClassMetadataFactory (new AttributeLoader ()), propertyTypeExtractor: new PropertyInfoExtractor (typeExtractors: [new PhpStanExtractor (), new ReflectionExtractor ()])) extends AbstractObjectNormalizerDummy {
13051299 protected function isAllowedAttribute ($ classOrObject , string $ attribute , ?string $ format = null , array $ context = []): bool
13061300 {
13071301 return true ;
@@ -1606,7 +1600,7 @@ class TruePropertyDummy
16061600
16071601class BoolPropertyDummy
16081602{
1609- /** @var null| bool */
1603+ /** @var bool|null */
16101604 public $ foo ;
16111605}
16121606
0 commit comments