Skip to content

Commit 11197df

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Update serializer.rst
2 parents c668911 + a10a949 commit 11197df

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)