Skip to content

Commit 74c6f6f

Browse files
Closes #125
1 parent 21d1edc commit 74c6f6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ The `Differ` class can be used to generate a textual representation of the diffe
2929
```php
3030
<?php
3131
use SebastianBergmann\Diff\Differ;
32+
use SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
33+
34+
$differ = new Differ(new UnifiedDiffOutputBuilder);
3235

33-
$differ = new Differ;
3436
print $differ->diff('foo', 'bar');
3537
```
3638

0 commit comments

Comments
 (0)