Skip to content

Commit 92cbb0b

Browse files
authored
Fix error on @MaxDepth property
Change property annotation according to documentation
1 parent b2c4d31 commit 92cbb0b

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
@@ -793,7 +793,7 @@ Here, we set it to 2 for the ``$child`` property:
793793
/**
794794
* @MaxDepth(2)
795795
*/
796-
public $foo;
796+
public $child;
797797
798798
// ...
799799
}

0 commit comments

Comments
 (0)