summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-18 12:49:34 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-18 17:21:47 +0200
commita5ea677370df4479cc309f4c359599590c24f278 (patch)
treecd861667f467b31ff58ecf39613507432eb83d35 /lib/public
parent732badf552c91733192e87d6ceb2848b4b75d439 (diff)
downloadnextcloud-server-a5ea677370df4479cc309f4c359599590c24f278.tar.gz
nextcloud-server-a5ea677370df4479cc309f4c359599590c24f278.zip
Rename file1 and file2 to source and target in Storage abstraction
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/Storage.php12
-rw-r--r--lib/public/Files/Storage/IStorage.php12
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index 0a1a504b137..6f5a2f53673 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -244,22 +244,22 @@ interface Storage extends IStorage {
/**
* see https://www.php.net/manual/en/function.rename.php
*
- * @param string $path1
- * @param string $path2
+ * @param string $source
+ * @param string $target
* @return bool
* @since 6.0.0
*/
- public function rename($path1, $path2);
+ public function rename($source, $target);
/**
* see https://www.php.net/manual/en/function.copy.php
*
- * @param string $path1
- * @param string $path2
+ * @param string $soruce
+ * @param string $target
* @return bool
* @since 6.0.0
*/
- public function copy($path1, $path2);
+ public function copy($source, $target);
/**
* see https://www.php.net/manual/en/function.fopen.php
diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php
index f42eb81bfec..eb5522909c6 100644
--- a/lib/public/Files/Storage/IStorage.php
+++ b/lib/public/Files/Storage/IStorage.php
@@ -241,22 +241,22 @@ interface IStorage {
/**
* see https://www.php.net/manual/en/function.rename.php
*
- * @param string $path1
- * @param string $path2
+ * @param string $source
+ * @param string $target
* @return bool
* @since 9.0.0
*/
- public function rename($path1, $path2);
+ public function rename($source, $target);
/**
* see https://www.php.net/manual/en/function.copy.php
*
- * @param string $path1
- * @param string $path2
+ * @param string $source
+ * @param string $target
* @return bool
* @since 9.0.0
*/
- public function copy($path1, $path2);
+ public function copy($source, $target);
/**
* see https://www.php.net/manual/en/function.fopen.php