Skip to content

Commit 7b0d4f5

Browse files
committed
minor #20203 [Serializer] Update serializer.rst - Use the right namespace for the Attribute (nBuga)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] Update serializer.rst - Use the right namespace for the Attribute Use the right namespace for the Attribute <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- 58b4aea Update serializer.rst
2 parents 4f3ce76 + 58b4aea commit 7b0d4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializer.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ their paths using a :doc:`valid PropertyAccess syntax </components/property_acce
416416
417417
namespace App\Model;
418418
419-
use Symfony\Component\Serializer\Annotation\SerializedPath;
419+
use Symfony\Component\Serializer\Attribute\SerializedPath;
420420
421421
class Person
422422
{

0 commit comments

Comments
 (0)