Skip to content

Commit 8007d3d

Browse files
Enable strict interpretation of scalar type declarations in example
1 parent 74c6f6f commit 8007d3d

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
@@ -27,7 +27,7 @@ composer require --dev sebastian/diff
2727
The `Differ` class can be used to generate a textual representation of the difference between two strings:
2828

2929
```php
30-
<?php
30+
<?php declare(strict_types=1);
3131
use SebastianBergmann\Diff\Differ;
3232
use SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
3333

0 commit comments

Comments
 (0)