Skip to content

Commit 9780f09

Browse files
minor symfony#52714 [Serializer] Remove incompatible type declaration with PHP 7.2 (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Serializer] Remove incompatible type declaration with PHP 7.2 | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Fixes CI Commits ------- 06d6827 [Serializer] Remove incompatible type declaration with PHP 7.2
2 parents 1bc8d26 + 06d6827 commit 9780f09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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)