Skip to content

Commit 9fb3974

Browse files
committed
minor #13663 Update custom_normalizer.rst (zulkris)
This PR was merged into the 3.4 branch. Discussion ---------- Update custom_normalizer.rst $context is not supported by Symfony 3.4 Commits ------- f6a1505 Update custom_normalizer.rst
2 parents 7c2835f + f6a1505 commit 9fb3974

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)