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);