Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9780f09

Browse filesBrowse files
minor #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
Copy full SHA for 9780f09

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.