Vfs::rename() is supposted to be static, quitens warning that it is used static

This commit is contained in:
Ralf Becker 2016-09-13 13:53:05 +02:00
parent e82ce99537
commit 4bf26a6c52

View File

@ -2518,7 +2518,7 @@ class Vfs
* @param string $path_to * @param string $path_to
* @return boolean TRUE on success or FALSE on failure * @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(); $vfs = new Vfs\StreamWrapper();
return $vfs->rename($path_from, $path_to); return $vfs->rename($path_from, $path_to);