@@ -1272,10 +1272,7 @@ protected function isAllowedAttribute($classOrObject, string $attribute, ?string
1272
1272
1273
1273
public function testTemplateTypeWhenAnObjectIsPassedToDenormalize ()
1274
1274
{
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 {
1279
1276
protected function isAllowedAttribute ($ classOrObject , string $ attribute , ?string $ format = null , array $ context = []): bool
1280
1277
{
1281
1278
return true ;
@@ -1298,10 +1295,7 @@ public function testDenormalizeTemplateType()
1298
1295
$ this ->markTestSkipped ('The PropertyInfo component before Symfony 7.1 does not support template types. ' );
1299
1296
}
1300
1297
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 {
1305
1299
protected function isAllowedAttribute ($ classOrObject , string $ attribute , ?string $ format = null , array $ context = []): bool
1306
1300
{
1307
1301
return true ;
@@ -1606,7 +1600,7 @@ class TruePropertyDummy
1606
1600
1607
1601
class BoolPropertyDummy
1608
1602
{
1609
- /** @var null| bool */
1603
+ /** @var bool|null */
1610
1604
public $ foo ;
1611
1605
}
1612
1606
0 commit comments