From 4bf26a6c52aabccab117a3941c4118f5e79afb81 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 13 Sep 2016 13:53:05 +0200 Subject: [PATCH] Vfs::rename() is supposted to be static, quitens warning that it is used static --- api/src/Vfs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Vfs.php b/api/src/Vfs.php index 1afff482cc..18d4c1e745 100644 --- a/api/src/Vfs.php +++ b/api/src/Vfs.php @@ -2518,7 +2518,7 @@ class Vfs * @param string $path_to * @return boolean TRUE on success or FALSE on failure */ - function rename ( $path_from, $path_to ) + static function rename ( $path_from, $path_to ) { $vfs = new Vfs\StreamWrapper(); return $vfs->rename($path_from, $path_to);