diff --git a/src/Composer/Util/SpdxLicenseIdentifier.php b/src/Composer/Util/SpdxLicenseIdentifier.php index 02525bb24..59584001c 100644 --- a/src/Composer/Util/SpdxLicenseIdentifier.php +++ b/src/Composer/Util/SpdxLicenseIdentifier.php @@ -35,6 +35,7 @@ class SpdxLicenseIdentifier /** * @param array|string $license * + * @return bool * @throws \InvalidArgumentException */ public function validate($license)