8000 bug #11781 Update serializer.rst (Raulnet) · symfony/symfony-docs@a10a949 · GitHub
[go: up one dir, main page]

Skip to content

Commit a10a949

Browse files
committed
bug #11781 Update serializer.rst (Raulnet)
This PR was merged into the 4.3 branch. Discussion ---------- Update serializer.rst Fix name variable in code exemple. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap 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 `master` for features of unreleased versions). --> Commits ------- cd23bde Update serializer.rst
2 parents 5118c01 + cd23bde commit a10a949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ When serializing, you can set a callback to format a specific object property::
661661

662662
$defaultContext = [
663663
AbstractNormalizer::CALLBACKS => [
664-
'createdAt' => $callback,
664+
'createdAt' => $dateCallback,
665665
],
666666
];
667667

0 commit comments

Comments
 (0)
0