From a5ea677370df4479cc309f4c359599590c24f278 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 18 Oct 2022 12:49:34 +0200 Subject: Rename file1 and file2 to source and target in Storage abstraction Signed-off-by: Carl Schwan --- lib/public/Files/Storage.php | 12 ++++++------ lib/public/Files/Storage/IStorage.php | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/public/Files') 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 -- cgit v1.2.3