diff --git a/src/Composer/Json/JsonFile.php b/src/Composer/Json/JsonFile.php index ad73a8169..f2d950004 100644 --- a/src/Composer/Json/JsonFile.php +++ b/src/Composer/Json/JsonFile.php @@ -146,7 +146,7 @@ class JsonFile * Validates the schema of the current json file according to composer-schema.json rules * * @param int $schema a JsonFile::*_SCHEMA constant - * @param string $schemaFile a path to the schema file + * @param string|null $schemaFile a path to the schema file * @throws JsonValidationException * @return bool true on success */