Skip to content

Commit f2abb86

Browse files
committed
update allowMatchWithoutVersion explanation in README
1 parent af5902b commit f2abb86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ $license = $licensee->findLicenseByTitle('MIT License');
3434
echo "Found " . $license->getTitle() . "\n";
3535
```
3636

37-
Setting the optional argument `allowMatchWithoutVersion` to `true` will allow the detection of licenses without considering the version number.
38-
Note that this will return the first license that matches the title, which might not be the correct one if version numbers are ignored.
37+
Setting the optional argument `allowMatchWithoutVersion` to `true` will allow the detection of licenses
38+
without considering the version number, in case no exact match can be found.
3939

4040
### Detect license by content
4141

0 commit comments

Comments
 (0)