Issue #2782555 by marcoscano, YesCT, Berdir: FileUsageInterface::add() and ::delete() have incorrect param documentation

8.4.x
Alex Pott 2017-04-29 22:39:06 +01:00
parent a614ec640e
commit 3cd528fd4f
1 changed files with 6 additions and 6 deletions

View File

@ -25,8 +25,8 @@ interface FileUsageInterface {
* The name of the module using the file. * The name of the module using the file.
* @param string $type * @param string $type
* The type of the object that contains the referenced file. * The type of the object that contains the referenced file.
* @param int $id * @param string $id
* The unique, numeric ID of the object containing the referenced file. * The unique ID of the object containing the referenced file.
* @param int $count * @param int $count
* (optional) The number of references to add to the object. Defaults to 1. * (optional) The number of references to add to the object. Defaults to 1.
*/ */
@ -43,10 +43,10 @@ interface FileUsageInterface {
* (optional) The type of the object that contains the referenced file. May * (optional) The type of the object that contains the referenced file. May
* be omitted if all module references to a file are being deleted. Defaults * be omitted if all module references to a file are being deleted. Defaults
* to NULL. * to NULL.
* @param int $id * @param string $id
* (optional) The unique, numeric ID of the object containing the referenced * (optional) The unique ID of the object containing the referenced file.
* file. May be omitted if all module references to a file are being * May be omitted if all module references to a file are being deleted.
* deleted. Defaults to NULL. * Defaults to NULL.
* @param int $count * @param int $count
* (optional) The number of references to delete from the object. Defaults * (optional) The number of references to delete from the object. Defaults
* to 1. Zero may be specified to delete all references to the file within a * to 1. Zero may be specified to delete all references to the file within a