Skip to content

Commit 06d6827

Browse files
[Serializer] Remove incompatible type declaration with PHP 7.2
1 parent 1bc8d26 commit 06d6827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,10 @@ interface PropertyDummyInterface
596596

597597
class PropertyDiscriminatedDummyOne implements PropertyDummyInterface
598598
{
599-
public string $url = 'URL_ONE';
599+
public $url = 'URL_ONE';
600600
}
601601

602602
class PropertyDiscriminatedDummyTwo implements PropertyDummyInterface
603603
{
604-
public string $url = 'URL_TWO';
604+
public $url = 'URL_TWO';
605605
}

0 commit comments

Comments
 (0)