mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Improve InstalledVersions docs slightly
This commit is contained in:
parent
c3ae317a71
commit
52a452c885
2 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,7 @@ Note that this can not be used to check whether platform packages are installed.
|
|||
|
||||
### Knowing whether package X is installed in version Y
|
||||
|
||||
> **Note:** To use this, your package must require `"composer/semver": "^2.0"`.
|
||||
> **Note:** To use this, your package must require `"composer/semver": "^3.0"`.
|
||||
|
||||
```php
|
||||
use Composer\Semver\VersionParser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue