8000 replace annotation with attribute · symfony/symfony@666629a · GitHub
[go: up one dir, main page]

Skip to content

Commit 666629a

Browse files
committed
replace annotation with attribute
1 parent ca1eb17 commit 666629a

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