Skip to content
Snippets Groups Projects
Commit 9867da21 authored by Mathias Brodala's avatar Mathias Brodala Committed by Andreas Kienast
Browse files

[BUGFIX] Restore FileInterface::setContents() TODO comments

Resolves: #103202
Releases: main, 12.4
Related: #40096
Change-Id: If64a5d16da9d500180d070b8d5f6a7fd96609010
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83135


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent 26389adb
Branches
Tags
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment