Skip to content

Commit ff1b6ad

Browse files
committed
Merge branch '5.1'
* 5.1: Update custom_normalizer.rst
2 parents c858d0f + 6d32568 commit ff1b6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializer/custom_normalizer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ to customize the normalized data. To do that, leverage the ``ObjectNormalizer``:
4747
return $data;
4848
}
4949

50-
public function supportsNormalization($data, $format = null, array $context = [])
50+
public function supportsNormalization($data, $format = null)
5151
{
5252
return $data instanceof Topic;
5353
}

0 commit comments

Comments
 (0)