Commit 5a43fd2
Update serializer.rst
The $maxDepthHandler function might return NULL, but the return type is set to : string, which causes a TypeError to be thrown.
This change allows the $maxDepthHandler function to return null, by changing the return type to : ?string for this example.1 parent 810f06d commit 5a43fd2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1789 | 1789 | | |
1790 | 1790 | | |
1791 | 1791 | | |
1792 | | - | |
| 1792 | + | |
1793 | 1793 | | |
1794 | 1794 | | |
1795 | 1795 | | |
| |||
0 commit comments