Skip to content

Commit 9eb6c87

Browse files
committed
Merge branch '4.4'
* 4.4: Update serializer.rst
2 parents 2ad9591 + 11197df commit 9eb6c87

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
@@ -644,7 +644,7 @@ When serializing, you can set a callback to format a specific object property::
644644

645645
$defaultContext = [
646646
AbstractNormalizer::CALLBACKS => [
647-
'createdAt' => $callback,
647+
'createdAt' => $dateCallback,
648648
],
649649
];
650650

0 commit comments

Comments
 (0)