From 019febb5fa40f13c41282a0c2a3981a7f318c331 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 2 Aug 2020 15:10:54 +0100 Subject: [PATCH] Use consistent phpdoc nullable syntax --- src/Composer/InstalledVersions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/InstalledVersions.php b/src/Composer/InstalledVersions.php index c2c6dbd3e..7bf2c0686 100644 --- a/src/Composer/InstalledVersions.php +++ b/src/Composer/InstalledVersions.php @@ -46,7 +46,7 @@ class InstalledVersions * * @param VersionParser $parser Install composer/semver to have access to this class and functionality * @param string $packageName - * @param ?string $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package * * @return bool */