Skip to content

Commit 1bdf2af

Browse files
committed
[Serializer] Fix BC break: DEPTH_KEY_PATTERN must be public
1 parent ae38ed8 commit 1bdf2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
4141
/**
4242
* How to track the current depth in the context.
4343
*/
44-
private const DEPTH_KEY_PATTERN = 'depth_%s::%s';
44+
public const DEPTH_KEY_PATTERN = 'depth_%s::%s';
4545

4646
/**
4747
* While denormalizing, we can verify that types match.

0 commit comments

Comments
 (0)