8000 minor #51892 [Serializer] replace annotation with attribute (xabbuh) · symfony/symfony@f9a64ee · GitHub
[go: up one dir, main page]

Skip to content

Commit f9a64ee

Browse files
committed
minor #51892 [Serializer] replace annotation with attribute (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] replace annotation with attribute | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT Commits ------- 9274ddd replace annotation with attribute
2 parents ca1eb17 + 9274ddd commit f9a64ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,7 @@ public function testDenormalizeWithCorrectOrderOfAttributeAndProperty()
821821
];
822822

823823
$obj = new class() {
824-
/**
825-
* @SerializedPath("[data][id]")
826-
*/
824+
#[SerializedPath('[data][id]')]
827825
public $id;
828826
};
829827

0 commit comments

Comments
 (0)
0