diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-20 16:53:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 16:53:43 +0200 |
commit | 0f0f132959254432fd40e709dd558a45585e0803 (patch) | |
tree | b79baee2e5c32158a22657640af0d5bf5c77f502 /lib/public | |
parent | 00c4c3d72332e54b588ccd8009c05cfe724b194a (diff) | |
parent | a5ea677370df4479cc309f4c359599590c24f278 (diff) | |
download | nextcloud-server-0f0f132959254432fd40e709dd558a45585e0803.tar.gz nextcloud-server-0f0f132959254432fd40e709dd558a45585e0803.zip |
Merge pull request #34624 from nextcloud/fix/files_external_psalm
Multiple fix for files external
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/Storage.php | 12 | ||||
-rw-r--r-- | lib/public/Files/Storage/IStorage.php | 12 |
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 |