Issue #2782555 by marcoscano, YesCT, Berdir: FileUsageInterface::add() and ::delete() have incorrect param documentation
parent
a614ec640e
commit
3cd528fd4f
|
|
@ -25,8 +25,8 @@ interface FileUsageInterface {
|
|||
* The name of the module using the file.
|
||||
* @param string $type
|
||||
* The type of the object that contains the referenced file.
|
||||
* @param int $id
|
||||
* The unique, numeric ID of the object containing the referenced file.
|
||||
* @param string $id
|
||||
* The unique ID of the object containing the referenced file.
|
||||
* @param int $count
|
||||
* (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
|
||||
* be omitted if all module references to a file are being deleted. Defaults
|
||||
* to NULL.
|
||||
* @param int $id
|
||||
* (optional) The unique, numeric ID of the object containing the referenced
|
||||
* file. May be omitted if all module references to a file are being
|
||||
* deleted. Defaults to NULL.
|
||||
* @param string $id
|
||||
* (optional) The unique ID of the object containing the referenced file.
|
||||
* May be omitted if all module references to a file are being deleted.
|
||||
* Defaults to NULL.
|
||||
* @param int $count
|
||||
* (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
|
||||
|
|
|
|||
Loading…
Reference in New Issue