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 64a0f9fa47
commit e784475ec0

View File

@ -2503,7 +2503,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);