Fix phpdoc

Fixes:
- Missing definitions of arguments
- Invalid typeint
- Missing definitions of exceptions thrown
- Missing definitions of returns
Because the exception is thrown in this method on line [132](https://github.com/francoispluchino/composer/blob/fix-phpdoc/src/Composer/Json/JsonFile.php#L132). PHPCS throw a warning if it's not added.