Skip to content

Commit b76301a

Browse files
committed
Fix a typo in readme
Signed-off-by: Jack Cherng <[email protected]>
1 parent 8745678 commit b76301a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $templateOptions = [
8282
];
8383

8484
// one-line simply compare two files
85-
$result = DiffHelper::calculateFiles($oldFile, $newFile, $diffOptions, $templateOptions);
85+
$result = DiffHelper::calculateFiles($oldFile, $newFile, $template, $diffOptions, $templateOptions);
8686
// one-line simply compare two strings
8787
$result = DiffHelper::calculate($old, $new, $template, $diffOptions, $templateOptions);
8888
// or even shorter if you are happy with default options

0 commit comments

Comments
 (0)