diff --git a/core/modules/file/src/FileUsage/FileUsageInterface.php b/core/modules/file/src/FileUsage/FileUsageInterface.php index 6acda42..f31f760 100644 --- a/core/modules/file/src/FileUsage/FileUsageInterface.php +++ b/core/modules/file/src/FileUsage/FileUsageInterface.php @@ -25,8 +25,8 @@ * 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 @@ public function add(FileInterface $file, $module, $type, $id, $count = 1); * (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