diff --git a/typo3/sysext/core/Classes/Resource/FileInterface.php b/typo3/sysext/core/Classes/Resource/FileInterface.php index 3f26a741314266193b3a8adb66658104f65210ce..d7f0a413f962c9a6458d4835d5d5f089324f1d42 100644 --- a/typo3/sysext/core/Classes/Resource/FileInterface.php +++ b/typo3/sysext/core/Classes/Resource/FileInterface.php @@ -96,8 +96,12 @@ interface FileInterface extends ResourceInterface /** * Replace the current file contents with the given string. * - * @TODO : Consider to remove this function from the interface, as its - * @TODO : At the same time, it could be considered whether to make the whole + * @todo: Consider to remove this function from the interface, as its + * implementation in FileInUse could cause unforseen side-effects by setting + * contents on the original file instead of just on the Usage of the file. + * @todo: At the same time, it could be considered whether to make the whole + * interface a read-only FileInterface, so that all file management and + * modification functions are removed... * @return $this */ public function setContents(string $contents): self;