Skip to content

Commit 53c412a

Browse files
committed
Update docs
1 parent b997a29 commit 53c412a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Available options:
6363
* `SKIP_JSON_PATCH` is an option to improve performance by not building JsonPatch for this diff.
6464
* `SKIP_JSON_MERGE_PATCH` is an option to improve performance by not building JSON Merge Patch value for this diff.
6565
* `TOLERATE_ASSOCIATIVE_ARRAYS` is an option to allow associative arrays to mimic JSON objects (not recommended).
66+
* `COLLECT_MODIFIED_DIFF` is an option to enable [getModifiedDiff](#getmodifieddiff).
6667

6768
Options can be combined, e.g. `JsonDiff::REARRANGE_ARRAYS + JsonDiff::STOP_ON_DIFF`.
6869

@@ -102,7 +103,7 @@ Returns modifications as partial value of original.
102103
Returns modifications as partial value of new.
103104

104105
#### `getModifiedDiff`
105-
Returns list of `ModifiedPathDiff` containing paths with original and new values.
106+
Returns list of [`ModifiedPathDiff`](src/ModifiedPathDiff.php) containing paths with original and new values.
106107

107108
Not collected by default, requires `JsonDiff::COLLECT_MODIFIED_DIFF` option.
108109

0 commit comments

Comments
 (0)