Browse Source

Fix docblock.

Raphaël Aurières 6 years ago
parent
commit
6725d1d244
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Json/JsonFile.php

+ 1 - 1
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
      */